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/291651 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=ceebc9f465e a038c2eaac26cfa 0a18d3f5cdf7c6
Committed: https:/
Submitter: Jenkins
Branch: master
commit ceebc9f465ea038 c2eaac26cfa0a18 d3f5cdf7c6
Author: venkata anil <email address hidden>
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 ca2448fd957a35f 4908b323449
Change-Id: I322c392529c04a