90435f6a9d
ovsdb_timeout value need be increased when has lots of ports. Change-Id: I86a8cc7b66dd262282a148f95d22c504fbe81409 Closes-Bug: #1914011
32 lines
975 B
Django/Jinja
32 lines
975 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 }}
|
|
ovsdb_timeout = {{ ovsdb_timeout }}
|