yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #42857
[Bug 1362784] Re: Should remove duplicated get_port_from_device method in various plugins
[Expired for neutron because there has been no activity for 60 days.]
** Changed in: neutron
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1362784
Title:
Should remove duplicated get_port_from_device method in various
plugins
Status in neutron:
Expired
Bug description:
Various plugins have get_port_from_devices (or get_port_and_sgs) for Security Group server side RPC callback.
However these methods are 99% same and only differences are:
- "== port_id" vs ".startswith(port_id)", and
- how to get port_id from the passed "device" (netdev name for linuxbridge and port-id for OVS)
Such code duplication should be removed.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1362784/+subscriptions
References