Lines Matching refs:port

130         fip_rules = ['pass out quick from %s to any nat-to %s static-port '
231 def internal_network_added(self, port):
232 internal_dlname = self.get_internal_device_name(port['id'])
233 LOG.debug("adding internal network: port(%s), interface(%s)",
234 port['id'], internal_dlname)
236 self.driver.plug(port['tenant_id'], port['network_id'], port['id'],
237 internal_dlname, port['mac_address'],
238 vif_type=port.get('binding:vif_type'))
239 fixed_ips = port['fixed_ips']
247 port_subnet = port['subnets'][0]['cidr']
255 'port 80 rdr-to 127.0.0.1 port %s label metadata_%s'
259 # internal port from reaching other tenant's ports. However, if
304 def internal_network_removed(self, port):
305 internal_dlname = self.get_internal_device_name(port['id'])
306 LOG.debug("removing internal network: port(%s) interface(%s)",
307 port['id'], internal_dlname)
308 # remove the anchor and tables associated with this internal port
404 # internal port from reaching other tenant's ports. However, if
449 LOG.debug("appending port %s to internal_ports cache", p)
461 LOG.debug("removing port %s from internal_ports cache", p)
476 # LOG.debug("updating internal network for port %s", p)
516 LOG.debug("External gateway added: port(%s), interface(%s)",
544 # rule iff ex_gw_ip is IPv4 and the internal port is IPv4
547 for port in self.internal_ports:
548 port_subnet = port['subnets'][0]['cidr']
551 internal_dlname = self.get_internal_device_name(port['id'])
566 LOG.debug("External gateway removed: port(%s), interface(%s)",
574 for port in self.internal_ports:
575 internal_dlname = self.get_internal_device_name(port['id'])
626 for port in self.internal_ports:
627 ip_cidr = port['subnets'][0]['cidr']
629 internal_dlname = self.get_internal_device_name(port['id'])
675 # configure their addresses on the external gateway port