From 38b8f7562d5a0f0ea871207147a98ae65d5de797 Mon Sep 17 00:00:00 2001 From: German Espinoza Date: Mon, 30 Oct 2023 12:19:42 -0500 Subject: [PATCH] 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 --- ansible/roles/neutron/templates/sriov_agent.ini.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ansible/roles/neutron/templates/sriov_agent.ini.j2 b/ansible/roles/neutron/templates/sriov_agent.ini.j2 index 683b2e8031..cfc9b817e7 100644 --- a/ansible/roles/neutron/templates/sriov_agent.ini.j2 +++ b/ansible/roles/neutron/templates/sriov_agent.ini.j2 @@ -1,3 +1,8 @@ +{% 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