yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #92717
[Bug 1624648] Re: Do not need run _enable_netfilter_for_bridges() for each new device
Closed due to inactivity. Please feel free to reopen if needed.
** Changed in: neutron
Status: In Progress => Won't Fix
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1624648
Title:
Do not need run _enable_netfilter_for_bridges() for each new device
Status in neutron:
Won't Fix
Bug description:
For a new device, when set security group for it, function
prepare_port_filter will be called. Then
self._enable_netfilter_for_bridges() will be executed once, which is
not needed every time.
def prepare_port_filter(self, port):
LOG.debug("Preparing device (%s) filter", port['device'])
self._remove_chains()
self._set_ports(port)
self._enable_netfilter_for_bridges()
# each security group has it own chains
self._setup_chains()
return self.iptables.apply()
We could have a look at _enabled_netfilter_for_bridges first and
decide whether to run self._enable_netfilter_for_bridges().
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1624648/+subscriptions
References