]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Clear entries in Cisco N1KV specific tables on rollback
authorAbhishek Raut <abhraut@cisco.com>
Sat, 12 Jul 2014 17:19:24 +0000 (10:19 -0700)
committerAbhishek Raut <abhraut@cisco.com>
Sun, 13 Jul 2014 21:09:25 +0000 (14:09 -0700)
commit73b4239fbef5e52494cf3ffc3293dbb79b52d91c
tree33373acfeff67de75098c42256d2f87ed830daba
parent60f29672cd628ded5d168502ce763ade469a85bc
Clear entries in Cisco N1KV specific tables on rollback

During rollback operations, resources are cleaned up from neutron
database but leaves a few stale entries in the n1kv specific tables.
This change addresses the proper clean up of tables. i.e. VLAN/VXLAN
allocation tables, profile binding and vm network table.

Change-Id: I7a09d34f3a9dee0a43b76c5d781ee9eb9938953a
Closes-bug: #1336596
neutron/plugins/cisco/db/n1kv_db_v2.py
neutron/plugins/cisco/n1kv/n1kv_neutron_plugin.py
neutron/tests/unit/cisco/n1kv/fake_client.py
neutron/tests/unit/cisco/n1kv/test_n1kv_plugin.py