DVR: Moving router from dvr_snat node removes the qrouters
Removing the router from dvr_snat node removes the qrouters
that are servicing the VM and dhcp ports.
If there are still dvr serviceable ports in the dvr_snat node,
and if router remove command is executed to remove the router
association from the dvr_snat agent then only the snat
functionality should be moved to the the different agent
and the router namespaces should be untouched.
This patch checks if there are any dvr serviceable ports for
the dvr router and if exists, it will not send a router_remove
message to the agent, but instead will send an router_update
message to the agent.
Change-Id: I5a3ba329346ab0d5ea7b0296ec64cc8e5fb4056d
Closes-Bug: #1564575
(cherry picked from commit c198710dc551bc0f79851a7801038b033088a8c2)
Reviewed: https:/ /review. openstack. org/319397 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=1f444899ca2 25846ac54ed9e33 e112a30cc8bc0f
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 1f444899ca22584 6ac54ed9e33e112 a30cc8bc0f
Author: Swaminathan Vasudevan <email address hidden>
Date: Thu Mar 31 17:48:09 2016 -0700
DVR: Moving router from dvr_snat node removes the qrouters
Removing the router from dvr_snat node removes the qrouters
that are servicing the VM and dhcp ports.
If there are still dvr serviceable ports in the dvr_snat node,
and if router remove command is executed to remove the router
association from the dvr_snat agent then only the snat
functionality should be moved to the the different agent
and the router namespaces should be untouched.
This patch checks if there are any dvr serviceable ports for
the dvr router and if exists, it will not send a router_remove
message to the agent, but instead will send an router_update
message to the agent.
Change-Id: I5a3ba329346ab0 d5ea7b0296ec64c c8e5fb4056d f79851a7801038b 033088a8c2)
Closes-Bug: #1564575
(cherry picked from commit c198710dc551bc0