Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/cloudstack
/ is_dhcp
Method
is_dhcp
systemvm/debian/opt/cloud/bin/cs/CsConfig.py:99–100 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
97
return
self.cmdline().idata().get(
'is_routed'
,
'false'
) ==
'true'
98
99
def
is_dhcp(self):
100
return
self.cl.get_type() ==
'dhcpsrvr'
101
102
def
has_dns(self):
103
return
not self.use_extdns()
Callers
5
has_metadata
Method · 0.95
fw_router
Method · 0.80
fw_dhcpserver
Method · 0.80
post_config_change
Method · 0.80
configure_server
Method · 0.80
Calls
1
get_type
Method · 0.45
Tested by
no test coverage detected