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

Method is_router

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

Source from the content-addressed store, hash-verified

91 return self.cl.get_type() == 'vpcrouter'
92
93 def is_router(self):
94 return self.cl.get_type() == 'router'
95
96 def is_routed(self):
97 return self.cmdline().idata().get('is_routed', 'false') == 'true'

Callers 4

has_metadataMethod · 0.95
post_configureMethod · 0.80
post_config_changeMethod · 0.80
configure_serverMethod · 0.80

Calls 1

get_typeMethod · 0.45

Tested by

no test coverage detected