Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_primary
Method · 0.95
__update
Method · 0.80
get_dns
Method · 0.80
post_configure
Method · 0.80
post_config_change
Method · 0.80
arpPing
Method · 0.80
is_guest_gateway
Method · 0.80
setup
Method · 0.80
reconfigure_interfaces
Function · 0.80
set
Method · 0.80
set_fault
Method · 0.80
set_backup
Method · 0.80
Calls
1
idata
Method · 0.95
Tested by
1
test_is_redundant
Method · 0.64