kolla-ansible/ansible/roles/neutron/templates/fwaas_driver.ini.j2
Jeffrey Zhang 068a45e39e Implement neutron firewall v2
Closes-Bug: #1719775
Depends-On: I76803f0f81260129a242e31e81f4f956c5a44ef9
Change-Id: I675c486dda17ce5d6d5a9f665ade904f42d06611
2017-10-03 10:36:56 +08:00

19 lines
473 B
Django/Jinja

{% if enable_neutron_fwaas | bool %}
[fwaas]
enabled = True
{% if neutron_plugin_agent == 'vmware_nsxv' %}
driver = vmware_nsxv_edge
{% else %}
{% if neutron_fwaas_version == 'v1' %}
agent_version = v1
driver = iptables
{% elif neutron_fwaas_version == 'v2' %}
agent_version = v2
driver = iptables_v2
{% endif %}
[service_providers]
service_provider = FIREWALL:Iptables:neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver:default
{% endif %}
{% endif %}