]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix Cisco nexus plugin failure for first VLAN on phy interface
authorDane LeBlanc <leblancd@cisco.com>
Fri, 10 May 2013 21:54:04 +0000 (17:54 -0400)
committerDane LeBlanc <leblancd@cisco.com>
Thu, 30 May 2013 17:08:07 +0000 (13:08 -0400)
commit92ef293d02a7499850bc3becda413d6be22ae06c
treeec918fa36493af65e619fda153d70444e8fb176e
parent726aca58d70016a12f44eb7c07742fb6a54bb366
Fix Cisco nexus plugin failure for first VLAN on phy interface

Fixes bug 1174852

This fix changes the command being sent to the Nexus switch for
enabling a VLAN on an interface such that the 'add' keyword is
included only when there are prior VLANs already enabled on that
interface.

Change-Id: I466bcb839912b164b84be0e6721d87206c0e53eb
quantum/plugins/cisco/db/nexus_db_v2.py
quantum/plugins/cisco/nexus/cisco_nexus_network_driver_v2.py
quantum/plugins/cisco/nexus/cisco_nexus_snippets.py
quantum/tests/unit/cisco/test_network_plugin.py