75fbca3cfe
This patch adds optional support for neutron-fwaas. To enable, set: enable_neutron_fwaas: yes Change-Id: I2d434586807d7a008d2ee1d3ef8d7dc7fab47ca7 Implements: kolla-neutron-fwaas Depends-On: I9ca36012cff2e17ea877a775e8e1ca5837a2bcb1
17 lines
429 B
Django/Jinja
17 lines
429 B
Django/Jinja
#jinja2: trim_blocks: False
|
|
[DEFAULT]
|
|
{% if enable_neutron_dvr | bool %}
|
|
{% if inventory_hostname in groups['network'] %}
|
|
agent_mode = dvr_snat
|
|
{% elif inventory_hostname in groups['compute'] %}
|
|
agent_mode = dvr
|
|
{% endif %}
|
|
{% else %}
|
|
agent_mode = legacy
|
|
{% endif %}
|
|
{% if enable_neutron_fwaas | bool %}
|
|
[fwaas]
|
|
driver = neutron_fwaas.services.firewall.drivers.linux.iptables_fwaas.IptablesFwaasDriver
|
|
enabled = True
|
|
{% endif %}
|