]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Implement migration of legacy routers to distributed
authorSwaminathan Vasudevan <swaminathan.vasudevan@hp.com>
Tue, 5 Aug 2014 23:16:23 +0000 (16:16 -0700)
committerMichael Smith <michael.smith6@hp.com>
Fri, 21 Nov 2014 02:50:53 +0000 (18:50 -0800)
commitf005dd5c9b982eca03722a7b2684eeb42a83be2b
tree39dd5483d8d727f656d5d76cfe2a281ddea2aa45
parentc2b1594ad878b1897468210ccb89fc0d0c4146c4
Implement migration of legacy routers to distributed

This patch addresses the necessary changes required
for the router migration or conversion from legacy
to distributed.

The _update_router_db() method was modified to add
logic to support the SNAT functionality of DVR by
calling create_snat_intf_ports_if_not_exists().  A
call to _unbind_router() was also called to force
the scheduling of the router with 'distributed'
enabled.

Right now we will be supporting migration from legacy
to distributed only.

Closes-bug: #1348309
Partially-implements: blueprint neutron-ovs-dvr
Co-Authored-By: Michael Smith <michael.smith6@hp.com>
Change-Id: I6f252271bb5b52ce57184ad7b0bf1ce280b965fb
neutron/db/l3_dvr_db.py
neutron/tests/unit/db/test_l3_dvr_db.py