diff --git a/hooks/neutron_ovs_utils.py b/hooks/neutron_ovs_utils.py index 4ec7de52..ee0eb5c2 100644 --- a/hooks/neutron_ovs_utils.py +++ b/hooks/neutron_ovs_utils.py @@ -246,7 +246,8 @@ DPDK_RESOURCE_MAP = OrderedDict([ SRIOV_RESOURCE_MAP = OrderedDict([ (NEUTRON_SRIOV_AGENT_CONF, { 'services': ['neutron-sriov-agent'], - 'contexts': [neutron_ovs_context.OVSPluginContext()], + 'contexts': [neutron_ovs_context.OVSPluginContext(), + context.NeutronAPIContext()], }), ]) diff --git a/templates/kilo/sriov_agent.ini b/templates/kilo/sriov_agent.ini index 0187e30a..6d807892 100644 --- a/templates/kilo/sriov_agent.ini +++ b/templates/kilo/sriov_agent.ini @@ -9,3 +9,8 @@ firewall_driver = neutron.agent.firewall.NoopFirewallDriver [sriov_nic] physical_device_mappings = {{ sriov_device_mappings }} exclude_devices = + +{% if enable_sriov and enable_qos -%} +[agent] +extensions = qos +{% endif -%}