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

Method is_vpc

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

Source from the content-addressed store, hash-verified

88 return self.__LOG_LEVEL
89
90 def is_vpc(self):
91 return self.cl.get_type() == 'vpcrouter'
92
93 def is_router(self):
94 return self.cl.get_type() == 'router'

Callers 15

mainFunction · 0.95
has_metadataMethod · 0.95
get_dnsMethod · 0.95
get_ingress_chainMethod · 0.95
get_egress_chainMethod · 0.95
get_egress_tableMethod · 0.95
__init__Method · 0.80
processMethod · 0.80
processForwardRuleMethod · 0.80
processMethod · 0.80

Calls 1

get_typeMethod · 0.45

Tested by

no test coverage detected