diff --git a/defaults/main.yml b/defaults/main.yml index a9281032..2472d699 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -89,6 +89,9 @@ horizon_enable_cinder_backup: False # Enables IPv6 support in Horizon, such as managing network subnets horizon_enable_ipv6: True +# To enable ha router support in horizon set to True +horizon_enable_ha_router: False + # WSGI tuning parameters # horizon_wsgi_processes: 4 # horizon_wsgi_threads: 4 diff --git a/releasenotes/notes/make-ha-router-a-toggle-eefd61fc7978240d.yaml b/releasenotes/notes/make-ha-router-a-toggle-eefd61fc7978240d.yaml new file mode 100644 index 00000000..4b5a7be3 --- /dev/null +++ b/releasenotes/notes/make-ha-router-a-toggle-eefd61fc7978240d.yaml @@ -0,0 +1,4 @@ +--- +features: + - Horizon now has a boolean variable named ``horizon_enable_ha_router`` to + enable Neutron HA router management. diff --git a/templates/horizon_local_settings.py.j2 b/templates/horizon_local_settings.py.j2 index acd92777..92e308de 100644 --- a/templates/horizon_local_settings.py.j2 +++ b/templates/horizon_local_settings.py.j2 @@ -268,7 +268,7 @@ OPENSTACK_NEUTRON_NETWORK = { 'enable_quotas': True, 'enable_ipv6': {{ horizon_enable_ipv6 | bool }}, 'enable_distributed_router': False, - 'enable_ha_router': False, + 'enable_ha_router': {{ horizon_enable_ha_router | bool }}, 'enable_firewall': {{ horizon_enable_neutron_fwaas | bool }}, 'enable_vpn': {{ horizon_enable_neutron_vpnaas | bool }}, 'enable_fip_topology_check': True,