bcb2da2ba2
option 'ha_vrrp_health_check_interval' is needed to fix split-brain in HA router[1][2], we should add this to l3_agent.ini. [1] https://bugs.launchpad.net/neutron/+bug/1365461 [2] https://bugs.launchpad.net/neutron/+bug/1375625 [3] https://docs.openstack.org/ocata/networking-guide/deploy-ovs-ha-vrrp.html#keepalived-vrrp-health-check Change-Id: I3f38f09068c17e3ed790611ffe5e445d14318cd1 Closes-bug: #1698992
27 lines
631 B
Django/Jinja
27 lines
631 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 %}
|
|
{% if enable_neutron_fwaas | bool %}
|
|
[fwaas]
|
|
driver = neutron_fwaas.services.firewall.drivers.linux.iptables_fwaas.IptablesFwaasDriver
|
|
enabled = True
|
|
|
|
[agent]
|
|
extensions = fwaas
|
|
{% endif %}
|
|
|
|
[ovs]
|
|
ovsdb_interface = native
|
|
ovsdb_connection = tcp:{{ api_interface_address }}:6640
|