]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Support migrating of legacy routers to HA and back
authorJohn Schwarz <jschwarz@redhat.com>
Mon, 12 Oct 2015 13:54:17 +0000 (16:54 +0300)
committerAssaf Muller <amuller@redhat.com>
Thu, 22 Oct 2015 22:23:48 +0000 (18:23 -0400)
commit416c76bc6e01ef433506e4aa4ebd7c76b57acc51
tree021c7b74dfb5705dc7bc0e7cbd30d8d92eb3a192
parent9da4dfae56f22414e389bff560a9ee10991e1d7d
Support migrating of legacy routers to HA and back

This patch adds support for migration of legacy routers to HA and
vice-versa. This patch also:

1. Reverts I4171ab481e3943e0110bd9a300d965bbebe44871, which was used to
   disable such migrations until support was inserted to the codebase.
2. Adds an exception to indicate that such migrations are only available
   on routers that have their admin_state_up set to False.

Closes-Bug: #1365426
DocImpact (Handled in patch 233695)
Change-Id: Ie92f8033f47e1bf9ba6310373b3bfc9833317580
neutron/db/l3_hamode_db.py
neutron/extensions/l3_ext_ha_mode.py
neutron/tests/unit/db/test_l3_hamode_db.py