8c1ddaaa19
The current redhat derived bases that Kolla ships use libreswan instead of openswan (even running 'yum install openswan' on these bases results in libreswan being installed). This means we need to use this device_driver in vpnaas_agent.ini. Also /lib/modules is required from the host for the ipsec driver. Change-Id: I94480cda06718ab4aa10250520fa58956151e33a Closes-Bug: #1644518
12 lines
490 B
Django/Jinja
12 lines
490 B
Django/Jinja
{% set vpn_device_driver = 'neutron_vpnaas.services.vpn.device_drivers.strongswan_ipsec.StrongSwanDriver' if kolla_base_distro in ['ubuntu', 'debian'] else 'neutron_vpnaas.services.vpn.device_drivers.libreswan_ipsec.LibreSwanDriver'%}
|
|
[DEFAULT]
|
|
|
|
[ipsec]
|
|
enable_detailed_logging = {{ neutron_logging_debug }}
|
|
|
|
[service_providers]
|
|
service_provider = VPN:openswan:neutron_vpnaas.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default
|
|
|
|
[vpnagent]
|
|
vpn_device_driver = {{ vpn_device_driver }}
|