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