summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-06-18 19:41:04 +0000
committerGerrit Code Review <review@openstack.org>2017-06-18 19:41:04 +0000
commit0f173b1ddd06424efc9affacefb58c8499560609 (patch)
treee55c431a16ca64a91ce97856ec121568c9093c51
parente37044917c7445ca9c2b5139ac6c8250c25454a2 (diff)
parent7fa6bb9030a1801e7956ec9bd98cd5c2d2021569 (diff)
Merge "Fix the wrong device_owner when recreate LBaas listener"
-rw-r--r--neutron_lbaas/drivers/common/agent_callbacks.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/neutron_lbaas/drivers/common/agent_callbacks.py b/neutron_lbaas/drivers/common/agent_callbacks.py
index 67f56aa..57c6da6 100644
--- a/neutron_lbaas/drivers/common/agent_callbacks.py
+++ b/neutron_lbaas/drivers/common/agent_callbacks.py
@@ -169,6 +169,7 @@ class LoadBalancerCallbacks(object):
169 169
170 port['admin_state_up'] = True 170 port['admin_state_up'] = True
171 port[portbindings.HOST_ID] = host 171 port[portbindings.HOST_ID] = host
172 port['device_owner'] = constants.DEVICE_OWNER_LOADBALANCERV2
172 self.plugin.db._core_plugin.update_port( 173 self.plugin.db._core_plugin.update_port(
173 context, 174 context,
174 port_id, 175 port_id,