neutron/neutron/tests/unit/plugins/ml2/drivers/mech_sriov/agent
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 Allow to use several nics for physnet with SR-IOV 2016-03-30 18:33:56 +03:00
extension_drivers Remove unnecessary executable permissions 2016-03-25 01:49:26 +00:00
__init__.py Consolidate sriov agent and driver code 2015-06-26 19:51:58 +00:00
test_eswitch_manager.py Fix SR-IOV binding when two NICs mapped to one physnet 2016-05-05 12:54:06 +03:00
test_pci_lib.py SR-IOV: Fix macvtap assigned vf check when kernel < 3.13 2016-01-07 09:38:39 +01:00
test_sriov_nic_agent.py Add network_update RPC into SR-IOV agent 2016-01-21 00:43:02 +08:00