MCPcopy Create free account
hub / github.com/retspen/webvirtcloud / get_ifaces

Method get_ifaces

vrtManager/connection.py:375–381  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

373 return virtnet
374
375 def get_ifaces(self):
376 interface = []
377 for inface in self.wvm.listInterfaces():
378 interface.append(inface)
379 for inface in self.wvm.listDefinedInterfaces():
380 interface.append(inface)
381 return interface
382
383 def get_iface(self, name):
384 return self.wvm.interfaceLookupByName(name)

Callers 1

interfacesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected