SRIOV: ESwitchManager should handle multiple NICs per physical net
Bug #1576757 reported by
Oleg Bondarev
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Elena Ezhova |
Bug Description
Commit 46ddaf4288a1cac
However ESwitchManager now stores only one EmbSwitch per physical net (the last one).
Changed in neutron: | |
assignee: | Vladimir Eremin (yottatsa) → Oleg Bondarev (obondarev) |
status: | Confirmed → In Progress |
Changed in neutron: | |
assignee: | Oleg Bondarev (obondarev) → Elena Ezhova (eezhova) |
tags: | removed: mitaka-backport-potential |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/310927 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=ea5fce2c91a e166fe2112ae441 8940299d80ab13
Committed: https:/
Submitter: Jenkins
Branch: master
commit ea5fce2c91ae166 fe2112ae4418940 299d80ab13
Author: Vladimir Eremin <email address hidden>
Date: Thu Apr 28 15:14:18 2016 -0500
Fix SR-IOV binding when two NICs mapped to one physnet
Because ESwitchManager. _create_ emb_switch stores one EmbSwitch per device_ mappings= physnet2: ens3f0, physnet2: ens3f1
physnet, there is only last EmbSwitch works if two NICs was configured
for one physnet:
physical_
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: I4fd9849890a770 ea2b00063b546cc 73a0f2d754c
Closes-Bug: #1576757