Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/cloudstack
/ get_eth2_ip
Method
get_eth2_ip
systemvm/debian/opt/cloud/bin/cs/CsDatabag.py:122–126 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
120
return
False
121
122
def
get_eth2_ip(self):
123
if
"eth2ip"
in self.idata():
124
return
self.idata()[
'eth2ip'
]
125
else
:
126
return
"unknown"
127
128
def
is_primary(self):
129
if
not self.is_redundant():
Callers
3
get_router_password
Method · 0.95
process
Method · 0.80
fw_router
Method · 0.80
Calls
1
idata
Method · 0.95
Tested by
no test coverage detected