neutron/neutron/tests/unit/plugins/ml2/drivers/mech_sriov/agent
Brian Haley 8b57a6d3fb Fix corner case in failure assigning MAC to SR-IOV NIC
Sometimes due to NIC driver incorrect behavior, VFs might be
missing in 'ip link show' output.  This may lead to a VM boot
failure as agent will just skip such missing devices.

Make the agent do a resync in case a newly added device
'disappears' during processing, which should cause a MAC to
get assigned.

Co-authored-by: Oleg Bondarev <obondarev@mirantis.com>

Change-Id: I148b5a025fc388821fd1269d02908cc8ce1882fe
Closes-bug: #1784484
(cherry picked from commit eea5aaac4f)
2018-10-04 18:33:18 +00:00
..
common Refactoring config options for mech_sriov opts 2016-11-29 22:57:38 +00:00
extension_drivers Spin off context module 2017-03-06 16:25:29 +00:00
__init__.py Consolidate sriov agent and driver code 2015-06-26 19:51:58 +00:00
test_eswitch_manager.py Merge "Remove unused phys_net parameter form EmbSwitch class" 2017-04-04 22:23:31 +00:00
test_pci_lib.py Reduce IP link show calls for SR-IOV scan loop 2017-01-05 03:33:35 -07:00
test_sriov_nic_agent.py Fix corner case in failure assigning MAC to SR-IOV NIC 2018-10-04 18:33:18 +00:00