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

Method get_ingress_chain

systemvm/debian/opt/cloud/bin/cs/CsConfig.py:138–142  ·  view source on GitHub ↗
(self, device, ip)

Source from the content-addressed store, hash-verified

136 return self.__LOG_FORMAT
137
138 def get_ingress_chain(self, device, ip):
139 if self.is_vpc():
140 return "ACL_INBOUND_%s" % device
141 else:
142 return "FIREWALL_%s" % ip
143
144 def get_egress_chain(self, device, ip):
145 if self.is_vpc():

Callers 1

init_vpcMethod · 0.80

Calls 1

is_vpcMethod · 0.95

Tested by

no test coverage detected