(self)
| 299 | self.remote_ftp = remote_ftp |
| 300 | |
| 301 | def run(self): |
| 302 | print('Run in link init thread.') |
| 303 | self.remote_ftp.put( |
| 304 | os.path.join(os.getcwd(), "starrynet/sn_orchestrater.py"), |
| 305 | self.file_path + "/sn_orchestrater.py") |
| 306 | self.remote_ftp.put( |
| 307 | self.configuration_file_path + "/" + self.file_path + |
| 308 | '/delay/1.txt', self.file_path + "/1.txt") |
| 309 | print('Initializing links ...') |
| 310 | sn_remote_cmd( |
| 311 | self.remote_ssh, "python3 " + self.file_path + |
| 312 | "/sn_orchestrater.py" + " " + str(self.orbit_num) + " " + |
| 313 | str(self.sat_num) + " " + str(self.constellation_size) + " " + |
| 314 | str(self.fac_num) + " " + str(self.sat_bandwidth) + " " + |
| 315 | str(self.sat_loss) + " " + str(self.sat_ground_bandwidth) + " " + |
| 316 | str(self.sat_ground_loss) + " " + self.file_path + "/1.txt") |
| 317 | |
| 318 | |
| 319 | # A thread designed for initializing bird routing. |
nothing calls this directly
no test coverage detected