diff --git a/defaults/main.yml b/defaults/main.yml index 39009040..051b5be1 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -125,6 +125,8 @@ horizon_can_set_password: False horizon_enable_cinder_backup: False # Enables IPv6 support in Horizon, such as managing network subnets horizon_enable_ipv6: True +# Enables router support in Horizon, disable if you don't have Neutron L3 agent +horizon_enable_router: True # Disable/Enable simplified floating IP address management for deployments with # multiple floating IP pools or complex network requirements. diff --git a/templates/horizon_local_settings.py.j2 b/templates/horizon_local_settings.py.j2 index 9838cdc4..71294108 100644 --- a/templates/horizon_local_settings.py.j2 +++ b/templates/horizon_local_settings.py.j2 @@ -279,7 +279,7 @@ OPENSTACK_CINDER_FEATURES = { # services provided by neutron. Options currently available are load # balancer service, security groups, quotas, VPN service. OPENSTACK_NEUTRON_NETWORK = { - 'enable_router': True, + 'enable_router': {{ horizon_enable_router | bool }}, 'enable_quotas': True, 'enable_ipv6': {{ horizon_enable_ipv6 | bool }}, 'enable_distributed_router': False,