625de54de3
This patch does unconditional switch from non-pluggable IPAM to pluggable IPAM for all deployments during upgrade to Neutron. Pluggable IPAM is enabled by pointing ipam_driver default to reference driver. User who manually set ipam_driver in neutron.conf will continue to use ipam_driver of their choice. During upgrade data is migrated from non-pluggable IPAM tables to pluggable IPAM tables using alembic_migration. Availability ranges (IPAvailabilityRange) is no longer used to calculate next available ip address, so migration for this table is not included. Migration is covered with functional tests. Dataset with subnets, allocation pools and ip allocations is loaded prior to migration. Once migration is completed ipam related tables are checked if data is migrated properly. Built-in IPAM implementation becomes obsolete and is planned to be removed in upcoming commits. UpgradeImpact Closes-Bug: #1516156 Change-Id: I1d633810bd16f1bec7bbca57522e9ad3f7745ea2 |
||
---|---|---|
.. | ||
migrations | ||
__init__.py | ||
test_ipam.py | ||
test_migrations.py | ||
test_models.py |