]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add a constant for router interface device owners
authorMaru Newby <marun@redhat.com>
Tue, 28 Oct 2014 19:50:31 +0000 (19:50 +0000)
committerMaru Newby <marun@redhat.com>
Wed, 31 Dec 2014 02:17:19 +0000 (18:17 -0800)
commit2bdf7d67a7e20cc688f292155ae2b29af785b920
tree77ef0bd3541db825cf5182bf94ffb2f928609f6c
parent299f8ad2dc974b19705b91ef2dc81a058e134348
Add a constant for router interface device owners

In the absense of a port object that includes a check for whether a
given port is implementing a router interface, this change adds the
ROUTER_INTERFACE_OWNERS tuple containing the relevant DEVICE_OWNER_*
constants.

This change was suggested by https://review.openstack.org/#/c/129865/

Change-Id: I1c45c29617d692cc05b44f7f2c4ec1e5252be303
neutron/agent/l3/agent.py
neutron/agent/linux/dhcp.py
neutron/agent/metadata/agent.py
neutron/common/constants.py
neutron/db/db_base_plugin_v2.py
neutron/db/l3_dvr_db.py
neutron/db/securitygroups_rpc_base.py
neutron/tests/unit/test_metadata_agent.py