]> 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, 13 Sep 2014 03:00:51 +0000 (20:00 -0700)
commit4e1c4cbcd71833095534bea9ff7617c582c300d2
tree67e73f7382d3383687df079b4bdd72859d8aec9e
parentb053dc014ebe33a893e155ebf7baabecd669a554
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
neutron/plugins/cisco/n1kv/n1kv_neutron_plugin.py
neutron/tests/unit/cisco/n1kv/test_n1kv_plugin.py