kolla-ansible/ansible/roles/neutron/templates/neutron_vpnaas.conf.j2
Bertrand Lallau b6aadb9656 Fix VMware VPN, LBAAS and neutron-server config
As describe here in vmware-guide:
https://github.com/openstack/kolla-ansible/blob/master/doc/vmware-guide.rst#L116
VMware NSX-V (neutron_plugin_agent: "vmware_nsxv") supports Neutron
LBaaS and VPNaaS services.

neutron_plugin_agent valid options are [ openvswitch, linuxbridge,
vmware_nsxv, vmware_dvs, opendaylight ]:
https://github.com/openstack/kolla-ansible/blob/master/ansible/group_vars/all.yml#L125

Change-Id: I50667862adc7a3d51465a482b513e924f12b75cd
Closes-Bug: #1711576
2017-08-18 13:00:32 +02:00

9 lines
347 B
Django/Jinja

{% if enable_neutron_vpnaas | bool %}
[service_providers]
{% if neutron_plugin_agent == 'vmware_nsxv' %}
service_provider = VPN:vmware:vmware_nsx.services.vpnaas.nsxv.ipsec_driver.NSXvIPsecVpnDriver:default
{% else %}
service_provider = VPN:openswan:neutron_vpnaas.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default
{% endif %}
{% endif %}