]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
ML2 Cisco Nexus MD: Fix UT to send one create vlan message
authorRobert Pothier <rpothier@cisco.com>
Wed, 3 Sep 2014 15:09:15 +0000 (11:09 -0400)
committerRobert Pothier <rpothier@cisco.com>
Tue, 30 Sep 2014 14:17:41 +0000 (10:17 -0400)
commiteacd1fc6b2cb3175f603cdd80d7b59dbe9b0719b
treeda7556e97800ccfc8f1a7a0bc59a03c1d65a1de6
parentdd238d0aac25ffec2734c75a7f893040ec42eb7b
ML2 Cisco Nexus MD: Fix UT to send one create vlan message

With the commit of https://review.openstack.org/#/c/113009,
test_nexus_add_trunk needs to have the device_id set to
a unique value. Combining test_nexus_add_trunk and
test_nexus_enable_vlan_cmd to reduce duplicate code,
which fixes the original issue.

Change-Id: I4191a6880ec0f43365aacb638a92a0dd3e1e80aa
Closes-Bug: 1364976
neutron/tests/unit/ml2/drivers/cisco/nexus/test_cisco_mech.py