]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Cisco nexus sub-plugin update_network fix
authorRohit Agarwalla <roagarwa@cisco.com>
Wed, 29 Aug 2012 08:20:06 +0000 (01:20 -0700)
committerRohit Agarwalla <roagarwa@cisco.com>
Wed, 29 Aug 2012 18:05:46 +0000 (11:05 -0700)
commitf75256f9574955c65b4e64a6701128044fc64278
treeb1b304287b0a6d639dc259479d042b7c9a284c4f
parent88e2551c69739d76a1802838adaae0d244aa5333
Cisco nexus sub-plugin update_network fix

Fixes bug 1043147

Currently, the cisco nexus sub-plugin doesn’t handle the network admin state parameter
when it’s updated. The fix would enable the sub-plugin to handle an update of the admin
state of the network. In update_network of the nexus sub-plugin, vlan corresponding to that network
is added/removed from the nexus interfaces based on the network state. Unit tests are added as well.

Change-Id: Ia3b5400c2896c1b0160968a2c75c21247ca0c3f4
quantum/plugins/cisco/models/network_multi_blade_v2.py
quantum/plugins/cisco/models/virt_phy_sw_v2.py
quantum/plugins/cisco/network_plugin.py
quantum/plugins/cisco/nexus/cisco_nexus_network_driver_v2.py
quantum/plugins/cisco/nexus/cisco_nexus_plugin_v2.py
quantum/plugins/cisco/tests/unit/v2/nexus/fake_nexus_driver.py
quantum/tests/unit/cisco/test_nexus_plugin.py