MCPcopy Create free account
hub / github.com/apache/cloudstack / is_routed

Method is_routed

systemvm/debian/opt/cloud/bin/cs/CsConfig.py:96–97  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

94 return self.cl.get_type() == 'router'
95
96 def is_routed(self):
97 return self.cmdline().idata().get('is_routed', 'false') == 'true'
98
99 def is_dhcp(self):
100 return self.cl.get_type() == 'dhcpsrvr'

Callers 14

createMethod · 0.80
__init__Method · 0.80
flushAllIptablesRulesMethod · 0.80
processMethod · 0.80
post_configureMethod · 0.80
setup_router_controlMethod · 0.80
fw_routerMethod · 0.80
fw_vpcrouterMethod · 0.80
fw_router_routingMethod · 0.80

Calls 3

cmdlineMethod · 0.95
idataMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected