Fix QoS selection for SRIOV environments
When QoS is set in the neutron-api charm, the neutron-openvswitch charm needs to add 'extensions = qos' to the sriov_agent.ini file. Closes-bug: #1938277 Change-Id: I44fbf5991d2606161b1bcbc064d4bc68a2fbbb5b
This commit is contained in:
1 parent
641b7f311b
commit
2a6cba8e6f
2 files changed
+7
-1
No files matched your search
@@ -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()],
|
||||
}),
|
||||
])
|
||||
|
||||
|
||||
@@ -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 -%}
|
||||
Reference in new issue
Block a user