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

Method is_redundant

systemvm/debian/opt/cloud/bin/cs/CsDatabag.py:78–81  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

76 return False
77
78 def is_redundant(self):
79 if "redundant_router" in self.idata():
80 return self.idata()['redundant_router'] == "true"
81 return False
82
83 def set_redundant(self, val="true"):
84 self.idata()['redundant_router'] = val

Callers 15

is_primaryMethod · 0.95
__updateMethod · 0.80
get_dnsMethod · 0.80
post_configureMethod · 0.80
post_config_changeMethod · 0.80
arpPingMethod · 0.80
is_guest_gatewayMethod · 0.80
setupMethod · 0.80
reconfigure_interfacesFunction · 0.80
setMethod · 0.80
set_faultMethod · 0.80
set_backupMethod · 0.80

Calls 1

idataMethod · 0.95

Tested by 1

test_is_redundantMethod · 0.64