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

Method get_attr

systemvm/debian/opt/cloud/bin/cs/CsAddress.py:221–225  ·  view source on GitHub ↗
(self, attr)

Source from the content-addressed store, hash-verified

219 return self.get_attr("broadcast")
220
221 def get_attr(self, attr):
222 if attr in self.address:
223 return self.address[attr]
224 else:
225 return "ERROR"
226
227 def needs_vrrp(self):
228 """

Callers 12

get_ipMethod · 0.95
get_ip6Method · 0.95
get_networkMethod · 0.95
get_netmaskMethod · 0.95
get_gatewayMethod · 0.95
get_gateway6Method · 0.95
get_sizeMethod · 0.95
get_cidr6_sizeMethod · 0.95
get_deviceMethod · 0.95
get_cidrMethod · 0.95
get_broadcastMethod · 0.95
is_addedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected