From 1111f3d629332091f8d12c4d672fe065b3e5047e Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Wed, 4 May 2016 15:52:02 -0500 Subject: [PATCH] Enable IPv6 support in Horizon This patch creates a variable to control IPv6 support in Horizon and enables it by default. Release notes are included. Depends-On: I2d5300d4d5b02df3351ab52b1be32dd60241d34b Change-Id: I4133d97f3a0aa4886b4b6f6ca3d6fb151231b0ef --- defaults/main.yml | 2 ++ .../notes/make-ipv6-a-toggle-63d9c839e204cdda.yaml | 14 ++++++++++++++ templates/horizon_local_settings.py.j2 | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/make-ipv6-a-toggle-63d9c839e204cdda.yaml diff --git a/defaults/main.yml b/defaults/main.yml index 6afa8854..07a24fc1 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -86,6 +86,8 @@ horizon_enable_password_autocomplete: False # If nova_libvirt_inject_password is set to True, then this can also be enabled: horizon_can_set_password: False horizon_enable_cinder_backup: False +# Enables IPv6 support in Horizon, such as managing network subnets +horizon_enable_ipv6: True # WSGI tuning parameters # horizon_wsgi_processes: 4 diff --git a/releasenotes/notes/make-ipv6-a-toggle-63d9c839e204cdda.yaml b/releasenotes/notes/make-ipv6-a-toggle-63d9c839e204cdda.yaml new file mode 100644 index 00000000..1d2c6337 --- /dev/null +++ b/releasenotes/notes/make-ipv6-a-toggle-63d9c839e204cdda.yaml @@ -0,0 +1,14 @@ +--- +features: + - | + Horizon's IPv6 support is now enabled by default. This allows users to + manage subnets with IPv6 addresses within the Horizon interface. Deployers + can disable IPv6 support in Horizon by setting the following variable: + + .. code-block:: yaml + + horizon_enable_ipv6: False + + Please note: Horizon will still display IPv6 addresses in various panels + with IPv6 support disabled. However, it will not allow any direct + management of IPv6 configuration. diff --git a/templates/horizon_local_settings.py.j2 b/templates/horizon_local_settings.py.j2 index e5573054..b379eaba 100644 --- a/templates/horizon_local_settings.py.j2 +++ b/templates/horizon_local_settings.py.j2 @@ -266,7 +266,7 @@ OPENSTACK_CINDER_FEATURES = { OPENSTACK_NEUTRON_NETWORK = { 'enable_router': True, 'enable_quotas': True, - 'enable_ipv6': False, + 'enable_ipv6': {{ horizon_enable_ipv6 | bool }}, 'enable_distributed_router': False, 'enable_ha_router': False, 'enable_lb': {{ horizon_enable_neutron_lbaas | bool }},