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

Method do_set_next_hop

starrynet/cli.py:200–206  ·  view source on GitHub ↗

set the nhelpext hop at a certain time

(self, line)

Source from the content-addressed store, hash-verified

198 self.sn.check_routing_table(int(rest[0]), int(rest[1]))
199
200 def do_set_next_hop(self, line):
201 "set the nhelpext hop at a certain time"
202 "Sat, Des and NextHopSat are indexes and Sat and NextHopSat are neighbors, which will be processed during emulation"
203 arg, args, line = self.parseline(line)
204 rest = line.split(' ')
205 self.sn.set_next_hop(int(rest[0]), int(rest[1]), int(rest[2]),
206 int(rest[3]))
207
208 def do_path(self, line):
209 "get the working directory"

Callers

nothing calls this directly

Calls 1

set_next_hopMethod · 0.80

Tested by

no test coverage detected