Comment 3 for bug 1988574

Revision history for this message
Jacolex (jacolex) wrote (last edit ):

Based on kolla scripts - libreswan should be supported on centos installation

/usr/local/share/kolla-ansible/ansible/roles/neutron/templates/l3_agent.ini.j2

#jinja2: trim_blocks: False
{% 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'%}

[...]

{% if enable_neutron_vpnaas | bool %}
[ipsec]
enable_detailed_logging = {{ neutron_logging_debug }}

[vpnagent]
vpn_device_driver = {{ vpn_device_driver }}
{% endif %}

[...]