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

Method is_public

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

Source from the content-addressed store, hash-verified

243 return False
244
245 def is_public(self):
246 if "nw_type" in self.address and self.address['nw_type'] in ['public']:
247 return True
248 return False
249
250 def is_private_gateway(self):
251 if "is_private_gateway" in self.address:

Callers 2

get_ip6Method · 0.95
get_gateway6Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected