(remote_machine_ssh)
| 233 | |
| 234 | |
| 235 | def sn_get_container_info(remote_machine_ssh): |
| 236 | # Read all container information in all_container_info |
| 237 | all_container_info = sn_remote_cmd(remote_machine_ssh, "docker ps") |
| 238 | n_container = len(all_container_info) - 1 |
| 239 | container_id_list = [] |
| 240 | for container_idx in range(1, n_container + 1): |
| 241 | container_id_list.append(all_container_info[container_idx].split()[0]) |
| 242 | |
| 243 | return container_id_list |
| 244 | |
| 245 | |
| 246 | def sn_delete_remote_network_bridge(remote_ssh): |
no test coverage detected