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
(cherry picked from commit 2a6cba8e6f
)
This commit is contained in:
parent
1d4f077e11
commit
561a44e948
@ -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 -%}
|
||||
|
Loading…
Reference in New Issue
Block a user