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

Method get_ip_address

systemvm/debian/opt/cloud/bin/cs/CsAddress.py:413–419  ·  view source on GitHub ↗

Return ip address if known

(self)

Source from the content-addressed store, hash-verified

411 return "unknown"
412
413 def get_ip_address(self):
414 """
415 Return ip address if known
416 """
417 if "public_ip" in self.address:
418 return self.address['public_ip']
419 return "unknown"
420
421 def mtu(self):
422 logging.info(self.address)

Callers 2

fw_vpcrouterMethod · 0.95
__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected