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

Method create_nodes

starrynet/sn_synchronizer.py:110–120  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

108 self.observer.generate_conf(self.remote_ssh, self.remote_ftp)
109
110 def create_nodes(self):
111 # Initialize each machine in multiple threads.
112 sn_thread = sn_Node_Init_Thread(self.remote_ssh,
113 self.docker_service_name,
114 self.node_size, self.container_id_list,
115 self.container_global_idx)
116 sn_thread.start()
117 sn_thread.join()
118 self.container_id_list = sn_get_container_info(self.remote_ssh)
119 print("Constellation initialization done. " +
120 str(len(self.container_id_list)) + " have been created.")
121
122 def create_links(self):
123 print("Create Links.")

Callers 2

example.pyFile · 0.80
do_create_nodesMethod · 0.80

Calls 2

sn_Node_Init_ThreadClass · 0.85
sn_get_container_infoFunction · 0.70

Tested by

no test coverage detected