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

Method is_guest

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

Source from the content-addressed store, hash-verified

238 return False
239
240 def is_guest(self):
241 if "nw_type" in self.address and self.address['nw_type'] in ['guest']:
242 return True
243 return False
244
245 def is_public(self):
246 if "nw_type" in self.address and self.address['nw_type'] in ['public']:

Callers 10

get_ip6Method · 0.95
get_gatewayMethod · 0.95
get_gateway6Method · 0.95
get_cidr6_sizeMethod · 0.95
getGuestIpMethod · 0.80
get_guest_ifMethod · 0.80
_redundant_onMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected