From 76105724cd2648e000f01576704fe5d10d081da0 Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Thu, 5 May 2016 10:43:17 -0500 Subject: [PATCH] Enable ha router support in Horizon This patch creates a variable to control ha router support in Horizon and enables it by default. Release notes are included. Change-Id: I5edb7576d977bc558d9411dca62a029eb1856000 Signed-off-by: Kevin Carter --- defaults/main.yml | 3 +++ .../notes/make-ha-router-a-toggle-eefd61fc7978240d.yaml | 4 ++++ templates/horizon_local_settings.py.j2 | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/make-ha-router-a-toggle-eefd61fc7978240d.yaml 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,