group-based-policy/gbpservice/neutron/plugins/ml2plus/drivers/apic_aim
Robert Kukura add2c14abd [AIM] Fix legacy SNAT migration
Avoid issues caused by missing NetworkMapping DB records when cleaning
up the legacy plugin's SNAT-related resources. The test_legacy_cleanup
UT is enhanced to create a router and an interfaced internal network
and to delete all mapping and extension records, so that code
manipulating legacy SNAT resources with missing mapping records is
exercised.

Missing NetworkMapping and AddressScopeMapping records are silently
ignored in delete_*_precommit methods. They are logged and ignored in
extend_*_dict methods.

When an AddressScopeMapping or a NetworkMapping record is added, the
corresponding AddressScope or Network instance's aim_mapping
relationship field is updated to reference it. This avoids aim_mapping
being None when the AddressScope or Network instance is subsequently
retrieved from the session cache within the same transaction.

Change-Id: I84f3c401df7c79deb9151b0b232262139fca9429
2018-12-02 12:08:20 -05:00
..
__init__.py New APIC mechanism and extension drivers 2016-07-13 22:11:30 -04:00
apic_mapper.py SFC integration for AIM driver 2018-02-26 21:48:09 +00:00
cache.py [AIM] Validation fixes 2018-06-05 18:47:30 -04:00
config.py [AIM] Repair missing extension data when validating 2018-08-26 06:07:14 -04:00
constants.py [AIM] Non SFC modules should not import sfc constants 2018-04-04 19:13:25 +00:00
data_migrations.py Freezing DB table definitions for data migrations 2018-02-22 12:34:59 -08:00
db.py [AIM] Fix legacy SNAT migration 2018-12-02 12:08:20 -05:00
exceptions.py Pre-existing SVI networks can not use the same L3out 2018-03-01 14:43:25 -08:00
extension_db.py [AIM] Repair missing extension data when validating 2018-08-26 06:07:14 -04:00
extension_driver.py [AIM] Bulk extension for ML2Plus 2018-08-11 21:28:15 +00:00
mechanism_driver.py [AIM] Fix legacy SNAT migration 2018-12-02 12:08:20 -05:00
trunk_driver.py Add support for VLAN aware VMs in AIM 2018-01-26 21:56:07 +00:00