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.
Reviewed: https:/ /review. openstack. org/291641 /git.openstack. org/cgit/ openstack/ neutron- lib/commit/ ?id=0440878cc61 737cf68a2f5780f c8af57845078fd
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0440878cc61737c f68a2f5780fc8af 57845078fd
Author: venkata anil <email address hidden>
Date: Fri Mar 11 10:08:01 2016 +0000
New device owner flag 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.
Partial-Bug: #1554519 1e47ee8a1c9f1cb 2c385019a51
Change-Id: I89b247bdac3aee