(src, time_index, file_path, configuration_file_path,
container_id_list, remote_ssh)
| 769 | |
| 770 | |
| 771 | def sn_route(src, time_index, file_path, configuration_file_path, |
| 772 | container_id_list, remote_ssh): |
| 773 | route_result = sn_remote_cmd( |
| 774 | remote_ssh, |
| 775 | "docker exec -it " + str(container_id_list[src - 1]) + " route ") |
| 776 | f = open( |
| 777 | configuration_file_path + "/" + file_path + "/route-" + str(src) + |
| 778 | "_" + str(time_index) + ".txt", "w") |
| 779 | f.writelines(route_result) |
| 780 | f.close() |
| 781 | |
| 782 | |
| 783 | def sn_establish_new_GSL(container_id_list, matrix, constellation_size, bw, |