068a45e39e
Closes-Bug: #1719775 Depends-On: I76803f0f81260129a242e31e81f4f956c5a44ef9 Change-Id: I675c486dda17ce5d6d5a9f665ade904f42d06611
23 lines
573 B
Django/Jinja
23 lines
573 B
Django/Jinja
#jinja2: trim_blocks: False
|
|
[DEFAULT]
|
|
{% if enable_neutron_dvr | bool %}
|
|
{% if inventory_hostname in groups['network'] %}
|
|
agent_mode = dvr_snat
|
|
{% elif inventory_hostname in groups['compute'] %}
|
|
agent_mode = dvr
|
|
{% 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 %}
|
|
|
|
[ovs]
|
|
ovsdb_interface = native
|
|
ovsdb_connection = tcp:127.0.0.1:{{ ovsdb_port }}
|