Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/cloudstack
/ has_metadata
Method
has_metadata
systemvm/debian/opt/cloud/bin/cs/CsConfig.py:105–106 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
103
return
not self.use_extdns()
104
105
def
has_metadata(self):
106
return
any((self.is_vpc(), self.is_router(), self.is_dhcp()))
107
108
def
get_domain(self):
109
return
self.cl.get_domain()
Callers
1
post_config_change
Method · 0.80
Calls
4
is_vpc
Method · 0.95
is_router
Method · 0.95
is_dhcp
Method · 0.95
any
Function · 0.85
Tested by
no test coverage detected