kolla-ansible/ansible/roles/neutron/templates/sriov_agent.ini.j2
German Espinoza 38b8f7562d Adds condition to handle QoS extension in sriov_agent.ini template
When Neutron QoS is enabled, the QoS extension needs to be defined
in the sriov_agent.ini file.

Closes-Bug: #2041863
Change-Id: Id0de181df06a9e382a1483b32c12a8b5da1b71a9
Signed-off-by: German Espinoza <gespinoza@whitestack.com>
2023-10-30 12:34:00 -05:00

18 lines
582 B
Django/Jinja

{% if enable_neutron_qos | bool %}
[agent]
extensions = qos
{% endif %}
[sriov_nic]
# 'physical_device_mappings' is a comma separated list
# Maps a physical network to network inferface used for SRIOV
# This template should be modified for specific environments
# See Official OpenStack SRIOV documentation for all available options
physical_device_mappings = {{ neutron_sriov_physnets }}
exclude_devices =
[securitygroup]
# Security groups are not supported when using SRIOV, so the firewall
# driver must be disabled.
firewall_driver = neutron.agent.firewall.NoopFirewallDriver