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

Method get_type

systemvm/debian/opt/cloud/bin/cs/CsAddress.py:403–411  ·  view source on GitHub ↗

Return the type of the IP guest control public

(self)

Source from the content-addressed store, hash-verified

401 self.fw.append(["mangle", "", cmd])
402
403 def get_type(self):
404 """ Return the type of the IP
405 guest
406 control
407 public
408 """
409 if "nw_type" in self.address:
410 return self.address['nw_type']
411 return "unknown"
412
413 def get_ip_address(self):
414 """

Callers 15

post_configureMethod · 0.95
fw_routerMethod · 0.95
fw_vpcrouterMethod · 0.95
fw_router_routingMethod · 0.95
fw_vpcrouter_routingMethod · 0.95
fw_dhcpserverMethod · 0.95
post_config_changeMethod · 0.95
is_vpcMethod · 0.45
is_routerMethod · 0.45
is_dhcpMethod · 0.45
__init__Method · 0.45
setupMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected