MCPcopy Create free account
hub / github.com/SpaceNetLab/StarryNet / start_emulation

Method start_emulation

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

Source from the content-addressed store, hash-verified

217 self.perf_time.append(time_index)
218
219 def start_emulation(self):
220 # Start emulation in a new thread.
221 sn_thread = sn_Emulation_Start_Thread(
222 self.remote_ssh, self.remote_ftp, self.sat_loss,
223 self.sat_ground_bandwidth, self.sat_ground_loss,
224 self.container_id_list, self.file_path,
225 self.configuration_file_path, self.update_interval,
226 self.constellation_size, self.ping_src, self.ping_des,
227 self.ping_time, self.sr_src, self.sr_des, self.sr_target,
228 self.sr_time, self.damage_ratio, self.damage_time,
229 self.damage_list, self.recovery_time, self.route_src,
230 self.route_time, self.duration, self.utility_checking_time,
231 self.perf_src, self.perf_des, self.perf_time)
232 sn_thread.start()
233 sn_thread.join()
234
235 def stop_emulation(self):
236 # Stop emulation in a new thread.

Callers 2

example.pyFile · 0.80
do_start_emulationMethod · 0.80

Calls 1

Tested by

no test coverage detected