openstack-ansible-os_neutron/templates/l3_agent.ini.j2
Chandan Dutta Chowdhury 7c64d5ea8e
Add support for Neutron FWaaS v2
This patch adds support for deploying Neutron FWaaS v2
with OpenStack Ansible

Change-Id: I2eae414fba7ddfac44ad6f5125e08740dc7a80a2
2017-09-27 06:19:20 -05:00

52 lines
1.1 KiB
Django/Jinja

# {{ ansible_managed }}
# General
[DEFAULT]
debug = {{ debug }}
# While this option is deprecated in Liberty, if we remove it then it takes
# a default value of 'br-ex', which we do not want. We therefore leave it
# in place for now and can remove it in Mitaka.
external_network_bridge = {{ neutron_external_network_bridge }}
gateway_external_network_id = {{ neutron_gateway_external_network_id }}
# Drivers
interface_driver = {{ neutron_plugins[neutron_plugin_type].driver_interface }}
agent_mode = {{ neutron_plugins[neutron_plugin_type].l3_agent_mode }}
# 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 }}
send_arp_for_ha = 3
# Metadata
enable_metadata_proxy = True
{% if neutron_fwaas | bool %}
[fwaas]
enabled = true
driver = iptables
agent_version = v1
[AGENT]
extensions = fwaas
{% elif neutron_fwaas_v2 | bool %}
[fwaas]
enabled = true
driver = iptables_v2
agent_version = v2
[AGENT]
extensions = fwaas_v2
{% endif %}