MCPcopy Index your code
hub / github.com/SpaceNetLab/StarryNet / run

Method run

starrynet/sn_utils.py:338–350  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 1

sn_remote_cmdFunction · 0.85

Tested by

no test coverage detected