neutron/neutron/plugins/ml2/drivers/mech_sriov/agent/common
Ihar Hrachyshka a1b49c796e Don't define polling_interval option in two places
The option is currently defined in two places - as a generic agent
option and as a sriov agent specific one. This is a problem now that
oslo.config tracks location where options are defined
(I6dec1e09dcab203c6287f9c56c866f220a42f850) because when unit test
runner imports all modules, it registers the option from those two
separate locations, and since locations are different, it's considered
the options are duplicate, which results in the following error:

DuplicateOptError: duplicate option: polling_interval

To fix the issue, I removed the definition of the option from sriov
module and made sure the common agent options are registered whenever
the sriov module is imported.

Change-Id: I485532692f4b3a5804885e0325a8352fe6b1aa65
Closes-Bug: #1759345
2018-03-27 11:38:39 -07:00
..
__init__.py Consolidate sriov agent and driver code 2015-06-26 19:51:58 +00:00
config.py Don't define polling_interval option in two places 2018-03-27 11:38:39 -07:00
exceptions.py Use exceptions from neutron-lib 2016-04-21 21:29:44 -04:00