(self)
| 336 | self.remote_ftp = remote_ftp |
| 337 | |
| 338 | def run(self): |
| 339 | print( |
| 340 | "Copy bird configuration file to each container and run routing process." |
| 341 | ) |
| 342 | self.remote_ftp.put( |
| 343 | os.path.join(os.getcwd(), "starrynet/sn_orchestrater.py"), |
| 344 | self.file_path + "/sn_orchestrater.py") |
| 345 | print('Initializing routing ...') |
| 346 | sn_remote_cmd( |
| 347 | self.remote_ssh, "python3 " + self.file_path + |
| 348 | "/sn_orchestrater.py" + " " + str(self.constellation_size) + " " + |
| 349 | str(self.fac_num) + " " + self.file_path) |
| 350 | print("Routing initialized!") |
| 351 | |
| 352 | |
| 353 | # A thread designed for emulation. |
nothing calls this directly
no test coverage detected