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

Method do_get_IP

starrynet/cli.py:169–173  ·  view source on GitHub ↗

list the IP of a node

(self, line)

Source from the content-addressed store, hash-verified

167 output("The LLA is: " + str(LLA))
168
169 def do_get_IP(self, line):
170 "list the IP of a node"
171 arg, args, line = self.parseline(line)
172 IP = self.sn.get_IP(int(arg))
173 output("The IP list of the node is(are): " + str(IP) + ".\n")
174
175 def do_get_utility(self, line):
176 "list the CPU and memory useage at a certain time"

Callers

nothing calls this directly

Calls 1

get_IPMethod · 0.80

Tested by

no test coverage detected