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:
parent
641b7f311b
commit
2a6cba8e6f
@ -246,7 +246,8 @@ DPDK_RESOURCE_MAP = OrderedDict([
|
|||||||
SRIOV_RESOURCE_MAP = OrderedDict([
|
SRIOV_RESOURCE_MAP = OrderedDict([
|
||||||
(NEUTRON_SRIOV_AGENT_CONF, {
|
(NEUTRON_SRIOV_AGENT_CONF, {
|
||||||
'services': ['neutron-sriov-agent'],
|
'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]
|
[sriov_nic]
|
||||||
physical_device_mappings = {{ sriov_device_mappings }}
|
physical_device_mappings = {{ sriov_device_mappings }}
|
||||||
exclude_devices =
|
exclude_devices =
|
||||||
|
|
||||||
|
{% if enable_sriov and enable_qos -%}
|
||||||
|
[agent]
|
||||||
|
extensions = qos
|
||||||
|
{% endif -%}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user