Reviewed: https://review.openstack.org/291651 Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=ceebc9f465ea038c2eaac26cfa0a18d3f5cdf7c6 Submitter: Jenkins Branch: master
commit ceebc9f465ea038c2eaac26cfa0a18d3f5cdf7c6 Author: venkata anil <[email protected]> Date: Tue Mar 22 10:03:58 2016 +0000 use separate device owner for HA router interface Currently HA router interface port uses DEVICE_OWNER_ROUTER_INTF as device owner(like normal router interface). So to check if a port is a HA router interface port, we have to perform a DB operation. Neutron server at many places may need check if a port is HA router interface port and perform different set of operations, then it has to access DB for this. Instead of that, if this information is available as port's device owner, we can avoid DB access every time. Closes-bug: #1554519 Change-Id: I322c392529c04aca2448fd957a35f4908b323449 ** Changed in: neutron Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1554519 Title: seperate device owner flag for HA router interface port Status in neutron: Fix Released Bug description: Currently HA router interface port uses DEVICE_OWNER_ROUTER_INTF as device owner(like normal router interface). So to check if a port is a HA router interface port, we have to perform a DB operation. Neutron server at many places(functions in plugin.py, rpc.py, mech_driver.py [1]) may need check if a port is HA router interface port and perform different set of operations, then it has to access DB for this. Instead if this information is available as port's device owner, we can avoid DB access every time. [1] ml2_db.is_ha_port(session, port) in below files https://review.openstack.org/#/c/282874/3/neutron/plugins/ml2/plugin.py https://review.openstack.org/#/c/282874/3/neutron/plugins/ml2/drivers/l2pop/mech_driver.py To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1554519/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

