neutron/neutron/tests/unit/plugins
Vladimir Eremin ea5fce2c91 Fix SR-IOV binding when two NICs mapped to one physnet
Because ESwitchManager._create_emb_switch stores one EmbSwitch per
physnet, there is only last EmbSwitch works if two NICs was configured
for one physnet:
physical_device_mappings=physnet2:ens3f0,physnet2:ens3f1

This patch makes ESwitchManager.emb_switches_map store a list of
EmbSwitch for physnet.

Also fixed usage of singleton ESwitchManager class in tests by
adding cleanup.

Change-Id: I4fd9849890a770ea2b00063b546cc73a0f2d754c
Closes-Bug: #1576757
2016-05-05 12:54:06 +03:00
..
common Use constants from neutron-lib 2016-04-23 21:23:56 -04:00
ml2 Fix SR-IOV binding when two NICs mapped to one physnet 2016-05-05 12:54:06 +03:00
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00