From 5c58b66f543f66fe4c256a1e7f0fe5d54977539f Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Tue, 26 Nov 2024 18:28:14 +0100 Subject: [PATCH] Enable ovs_use_veth when gateway_ip_qos is used In case QoS is enabled for the gateway, we need to enable ovs_use_veth to ensure that rate limiting will work inside of the namespace. Change-Id: I1cbbcde27e4a9edac40ff0fe4086894c7b601087 --- templates/l3_agent.ini.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/l3_agent.ini.j2 b/templates/l3_agent.ini.j2 index a2652b80..c6530c59 100644 --- a/templates/l3_agent.ini.j2 +++ b/templates/l3_agent.ini.j2 @@ -9,6 +9,10 @@ interface_driver = {{ neutron_plugins[neutron_plugin_type].driver_interface }} agent_mode = {{ neutron_plugins[neutron_plugin_type].l3_agent_mode }} +{% if 'gateway_ip_qos' in neutron_l3_agent_extensions %} +ovs_use_veth = True +{% endif %} + # Conventional failover allow_automatic_l3agent_failover = True