openstack-ansible-os_neutron/templates/l3_agent.ini.j2
Dmitriy Rabotyagov 5c58b66f54 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
2024-11-26 18:28:14 +01:00

51 lines
1.1 KiB
Django/Jinja

# {{ ansible_managed }}
# General
[DEFAULT]
debug = {{ debug }}
# Drivers
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
# HA failover
ha_confs_path = {{ neutron_system_home_folder }}/ha_confs
ha_vrrp_advert_int = 2
ha_vrrp_auth_password = {{ neutron_ha_vrrp_auth_password }}
ha_vrrp_auth_type = {{ neutron_ha_vrrp_auth_type }}
cleanup_on_shutdown = {{ neutron_l3_cleanup_on_shutdown }}
# Metadata
enable_metadata_proxy = True
# L3 plugins
{% if neutron_fwaas_v2 | bool %}
# FWaaS v2
[fwaas]
enabled = true
driver = {{ neutron_driver_fwaasv2 }}
agent_version = v2
firewall_l2_driver = noop
{% endif %}
{% if neutron_vpnaas | bool %}
# VPNaaS
[vpnagent]
vpn_device_driver = {{ neutron_driver_vpnaas }}
{% endif %}
[AGENT]
{% if neutron_l3_agent_extensions | length > 0 %}
extensions = {{ neutron_l3_agent_extensions | join(',') }}
{% endif %}
availability_zone = {{ neutron_availability_zone }}