neutron/neutron/tests/unit/plugins/ml2/drivers/mech_sriov
Kevin Benton 1a2a71baf3 SRIOV: don't block report_state with device count
The device count process can be quite slow on a system with
lots of interfaces. Doing this during report_state can block
it long enough that the agent will be reported as dead and
bindings will fail.

This adjusts the logic to only update the configuration during
the normal device retrieval for the scan loop. This will leave
the report_state loop unblocked by the operation so the agent
doesn't get reported as dead (which blocks port binding).

Closes-Bug: #1648206
Change-Id: Iff45fb6617974b1eceeed238a8d9e958f874f12b
2016-12-07 12:01:43 -08:00
..
agent SRIOV: don't block report_state with device count 2016-12-07 12:01:43 -08:00
mech_driver Move SR-IOV VIF type constants to the portbindings extension 2016-11-18 05:35:16 -05:00
__init__.py Fix SR-IOV mechanism driver tests directory 2015-07-15 10:46:36 +03:00