1171a8d552
The deprecated ovsdb_interface configuration option has been removed,
the default native driver is now always used. [1]
[1] cf37563c83
Change-Id: Idd4e8ad4b00064d180a50c7b98a4568804939f50
Signed-off-by: ZijianGuo <guozijn@gmail.com>
31 lines
939 B
Django/Jinja
31 lines
939 B
Django/Jinja
#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'%}
|
|
[DEFAULT]
|
|
{% if enable_neutron_dvr | bool %}
|
|
{% if inventory_hostname in groups['network'] %}
|
|
agent_mode = dvr_snat
|
|
{% else %}
|
|
agent_mode = {{ neutron_compute_dvr_mode }}
|
|
{% endif %}
|
|
{% else %}
|
|
agent_mode = legacy
|
|
{% endif %}
|
|
{% if enable_neutron_agent_ha | bool %}
|
|
ha_vrrp_health_check_interval = 5
|
|
{% endif %}
|
|
[agent]
|
|
{% if neutron_l3_agent_extensions %}
|
|
extensions = "{{ neutron_l3_agent_extensions|map(attribute='name')|join(',') }}"
|
|
{% endif %}
|
|
|
|
{% if enable_neutron_vpnaas | bool %}
|
|
[ipsec]
|
|
enable_detailed_logging = {{ neutron_logging_debug }}
|
|
|
|
[vpnagent]
|
|
vpn_device_driver = {{ vpn_device_driver }}
|
|
{% endif %}
|
|
|
|
[ovs]
|
|
ovsdb_connection = tcp:127.0.0.1:{{ ovsdb_port }}
|