MCPcopy Create free account
hub / github.com/apache/cloudstack / get_interfaces

Method get_interfaces

systemvm/debian/opt/cloud/bin/cs/CsAddress.py:39–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

37 ip.compare(self.dbag)
38
39 def get_interfaces(self):
40 interfaces = []
41 for dev in self.dbag:
42 if dev == "id":
43 continue
44 for ip in self.dbag[dev]:
45 interfaces.append(CsInterface(ip, self.config))
46 return interfaces
47
48 def get_guest_if_by_network_id(self):
49 guest_interface = None

Callers 15

get_guest_ifMethod · 0.95
get_control_ifMethod · 0.95
__updateMethod · 0.80
getGuestIpMethod · 0.80
getGuestIpByIpMethod · 0.80
getDeviceByIpMethod · 0.80
getNetworkByIpMethod · 0.80
getGatewayByIpMethod · 0.80
find_device_for_gatewayFunction · 0.80
_redundant_onMethod · 0.80

Calls 2

CsInterfaceClass · 0.85
appendMethod · 0.45

Tested by

no test coverage detected