]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Validate router admin_state_up on upgrade to distributed
authorOleg Bondarev <obondarev@mirantis.com>
Tue, 18 Aug 2015 09:48:41 +0000 (12:48 +0300)
committerOleg Bondarev <obondarev@mirantis.com>
Tue, 25 Aug 2015 15:46:25 +0000 (18:46 +0300)
commit9a4f2e51a5b8f6f96535ee6968e5a209dd518654
tree0013a03b0dbc4b335f28d01feb2c56cb867dbd53
parenta324b2282182d8ebde273afb27e45f42a19c3cb7
Validate router admin_state_up on upgrade to distributed

For proper upgrade of centralized router to distributed the router
needs to be disabled (admin_state_up set to false).
The patch adds corresponding validation.

Closes-Bug: #1428713
Change-Id: Idf25db0936eee892ecb169a8678ba7f0a2cfceb6
neutron/db/l3_dvr_db.py
neutron/tests/api/admin/test_routers_dvr.py
neutron/tests/functional/services/l3_router/test_l3_dvr_router_plugin.py
neutron/tests/unit/db/test_l3_dvr_db.py