]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Cisco N1kv: Remove vmnetwork delete REST call on last port delete
authorAbhishek Raut <abhraut@cisco.com>
Sat, 13 Sep 2014 02:56:40 +0000 (19:56 -0700)
committerAbhishek Raut <abhraut@cisco.com>
Sat, 18 Oct 2014 09:17:09 +0000 (02:17 -0700)
commit72ef7b352c161925ed8f87e0764794b596e44658
tree5181006a1a64429f400b055b058fc466f192a823
parent38e8e2982ff9f43aea8f9c85d32ad749042d568a
Cisco N1kv: Remove vmnetwork delete REST call on last port delete

Remove the vm network delete call to the VSM on final port call and
ensure that vm network is deleted from the database when the port count
becomes 0.

Change-Id: I6c08a099adfce2fdba8eefec6aadeb68a780ac37
Closes-Bug: 1373547
(cherry picked from commit 4e1c4cbcd71833095534bea9ff7617c582c300d2)
neutron/plugins/cisco/n1kv/n1kv_neutron_plugin.py
neutron/tests/unit/cisco/n1kv/test_n1kv_plugin.py