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

Method hasIP

systemvm/debian/opt/cloud/bin/cs/CsAddress.py:931–932  ·  view source on GitHub ↗
(self, ip)

Source from the content-addressed store, hash-verified

929 return self.dev
930
931 def hasIP(self, ip):
932 return ip in list(self.address.values())
933
934 def arpPing(self):
935 cmd = "arping -c 1 -I %s -A -U -s %s %s" % (

Callers 1

compareMethod · 0.95

Calls 1

valuesMethod · 0.45

Tested by

no test coverage detected