MCPcopy 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_metadataMethod · 0.95
fw_routerMethod · 0.80
fw_dhcpserverMethod · 0.80
post_config_changeMethod · 0.80
configure_serverMethod · 0.80

Calls 1

get_typeMethod · 0.45

Tested by

no test coverage detected