From 84fb6660a337e5e1f515b600ac8c22c6fdf82ec9 Mon Sep 17 00:00:00 2001 From: Anand Shanmugam Date: Thu, 21 May 2015 02:03:33 -0700 Subject: [PATCH] Adding loadbalanacerv2 device owner constant to neutron constants The neutron constants doesn't have the constant for device owner lbaasv2. This fix adds the constant. This is needed for the bug 1430394 as we need to check the device owner when the port is to be deleted. Partial-Bug: #1430394 Change-Id: I222a9f44c5ed6c879feb2fb9e04047ae8f2c7745 --- neutron/common/constants.py | 1 + 1 file changed, 1 insertion(+) diff --git a/neutron/common/constants.py b/neutron/common/constants.py index 1539ed61a..d935273e5 100644 --- a/neutron/common/constants.py +++ b/neutron/common/constants.py @@ -39,6 +39,7 @@ DEVICE_OWNER_DVR_INTERFACE = "network:router_interface_distributed" DEVICE_OWNER_AGENT_GW = "network:floatingip_agent_gateway" DEVICE_OWNER_ROUTER_SNAT = "network:router_centralized_snat" DEVICE_OWNER_LOADBALANCER = "neutron:LOADBALANCER" +DEVICE_OWNER_LOADBALANCERV2 = "neutron:LOADBALANCERV2" # Collection used to identify devices owned by router interfaces. # DEVICE_OWNER_ROUTER_HA_INTF is a special case and so is not included. -- 2.45.2