]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Change nexus_dict to accept port lists
authorBritt Houser <bhouser@cisco.com>
Fri, 8 Aug 2014 19:45:51 +0000 (15:45 -0400)
committerBritt Houser <bhouser@cisco.com>
Sun, 17 Aug 2014 18:33:29 +0000 (14:33 -0400)
commit2b325fbd20e1ead8ec713c2fd69fd970dab0b405
tree1b51cd740d63e11a893de8d24647d761a183429b
parentf217cc90577a93957f6e9a050e0ca592616d2f1a
Change nexus_dict to accept port lists

When users configured a server to have two logical connections to a
single switch, the nexus driver would never know about the second
connection because the nexus_dict stored the interface as a single
value, which would just get overwritten.  This has been fixed by
allowing the port value to be a comma seperated list.  All
operations on ports have been update to loop over multiple ports
per switch. New test added for host with dual connections to one
switch.

Change-Id: Iefb30452083747b45496600c81f8d0a6f378bd08
Closes-Bug: 1288393
neutron/plugins/ml2/drivers/cisco/nexus/mech_cisco_nexus.py
neutron/tests/unit/ml2/drivers/cisco/nexus/test_cisco_config.py
neutron/tests/unit/ml2/drivers/cisco/nexus/test_cisco_nexus.py