]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix OVS and LB plugins' VLAN allocation table synchronization
authorBob Kukura <rkukura@redhat.com>
Thu, 20 Sep 2012 20:03:14 +0000 (16:03 -0400)
committerBob Kukura <rkukura@redhat.com>
Fri, 21 Sep 2012 01:11:24 +0000 (21:11 -0400)
commit6bae24df4e6d5a339dc4259b8c996bf452d7be28
treedf95bbf94f65030e50a8e86e93699c67ca0e8aa2
parent3fecbfe002304a96637ea8e81d8eaf881a651245
Fix OVS and LB plugins' VLAN allocation table synchronization

In both the openvswitch and linuxbridge plugins, if previous entries
for a physical network have been completely removed from the
network_vlan_ranges configuration variable, allocation table records
for unallocated VLANs on that physical network are now removed from
the DB at startup. The test_ovs_db and test_lb_db unit tests have also
been extended to cover this case. Fixes bug 1052289.

Test assertions that were added to the test_ovs_db unit test in
https://review.openstack.org/#/c/11388 have been added to the
test_lb_db unit test. Fixes bug 1045596.

Change-Id: I04e924603eaf0df717414c2aaa83fd203b791308
quantum/plugins/linuxbridge/db/l2network_db_v2.py
quantum/plugins/openvswitch/ovs_db_v2.py
quantum/tests/unit/linuxbridge/test_lb_db.py
quantum/tests/unit/openvswitch/test_ovs_db.py