diff --git a/sysinv/sysinv/sysinv/sysinv/agent/manager.py b/sysinv/sysinv/sysinv/sysinv/agent/manager.py index d2ae0d53f5..9086abeaae 100644 --- a/sysinv/sysinv/sysinv/sysinv/agent/manager.py +++ b/sysinv/sysinv/sysinv/sysinv/agent/manager.py @@ -96,9 +96,16 @@ audit_intervals_opts = [ cfg.IntOpt('lldp_audit', default=300) ] +dpdk_opts = [ + cfg.StrOpt('dpdk_elf', + default='/usr/sbin/ovs-vswitchd', + help='DPDK ELF file used for compatibility checks'), + ] + CONF = cfg.CONF CONF.register_opts(agent_opts, 'agent') CONF.register_opts(audit_intervals_opts, 'agent_periodic_task_intervals') +CONF.register_opts(dpdk_opts, 'dpdk') MAXSLEEP = 600 # 10 minutes diff --git a/sysinv/sysinv/sysinv/sysinv/agent/pci.py b/sysinv/sysinv/sysinv/sysinv/agent/pci.py index 4164cf9f6f..8c6e2be727 100644 --- a/sysinv/sysinv/sysinv/sysinv/agent/pci.py +++ b/sysinv/sysinv/sysinv/sysinv/agent/pci.py @@ -24,15 +24,7 @@ from sysinv.common import constants from sysinv.common import device as dconstants from sysinv.common import utils -dpdk_opts = [ - cfg.StrOpt('dpdk_elf', - default='/usr/sbin/ovs-vswitchd', - help='DPDK ELF file used for compatibility checks'), - ] - CONF = cfg.CONF -CONF.register_opts(dpdk_opts, 'dpdk') - LOG = logging.getLogger(__name__) # Look for PCI class 0x0200 and 0x0280 so that we get generic ethernet