From 4eda91e2294f14f8c8e24ca26c771ed5a74f37b6 Mon Sep 17 00:00:00 2001 From: shaofeng_cheng <chengsf@winhong.com> Date: Sat, 15 Jul 2017 17:03:53 +0800 Subject: [PATCH] Add fwaas support to vsphere by vmware-nsx plugin Add fwaas support to vsphere by vmware-nsx plugin in neutron. Change-Id: Ie80830f97701d322a3610815f6abd63c523a96d4 Partially-implements: blueprint kolla-ansible-support-vsphere --- ansible/roles/neutron/templates/fwaas_driver.ini.j2 | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/ansible/roles/neutron/templates/fwaas_driver.ini.j2 b/ansible/roles/neutron/templates/fwaas_driver.ini.j2 index 3fa7953415..272e5049cf 100644 --- a/ansible/roles/neutron/templates/fwaas_driver.ini.j2 +++ b/ansible/roles/neutron/templates/fwaas_driver.ini.j2 @@ -1,8 +1,12 @@ {% if enable_neutron_fwaas | bool %} +[fwaas] +enabled = True +{% if neutron_plugin_agent == 'vmware_nsxv' %} +driver = vmware_nsxv_edge +{% else %} +driver = iptables + [service_providers] service_provider = FIREWALL:Iptables:neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver:default - -[fwaas] -driver = iptables -enabled = True +{% endif %} {% endif %}