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

Method get_guest_ip

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

Return the ip of the first guest interface For use with routers not vpcrouters

(self)

Source from the content-addressed store, hash-verified

75 return guest_interface
76
77 def get_guest_ip(self):
78 """
79 Return the ip of the first guest interface
80 For use with routers not vpcrouters
81 """
82 ip = self.get_guest_if()
83 if ip:
84 return ip.get_ip()
85 return None
86
87 def get_guest_netmask(self):
88 """

Callers 3

get_dnsMethod · 0.80
configure_serverMethod · 0.80
test_get_guest_ipMethod · 0.80

Calls 2

get_guest_ifMethod · 0.95
get_ipMethod · 0.45

Tested by 1

test_get_guest_ipMethod · 0.64