diff --git a/playbooks/inventory/group_vars/hosts.yml b/playbooks/inventory/group_vars/hosts.yml index 93fa9ed103..7f969776f8 100644 --- a/playbooks/inventory/group_vars/hosts.yml +++ b/playbooks/inventory/group_vars/hosts.yml @@ -176,6 +176,9 @@ neutron_service_in_ldap: "{{ service_ldap_backend_enabled }}" neutron_rabbitmq_userid: neutron neutron_rabbitmq_vhost: /neutron +# Neutron Plugins +neutron_plugin_type: ml2.lxb + ## Glance glance_service_port: 9292 @@ -233,6 +236,7 @@ horizon_enable_cinder_backup: "{% if cinder_service_backup_program_enabled is de horizon_enable_neutron_lbaas: "{% if neutron_plugin_base is defined and ('lbaas' in neutron_plugin_base or 'neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPlugin' in neutron_plugin_base) %}True{% else %}False{% endif %}" horizon_enable_neutron_fwaas: "{% if neutron_plugin_base is defined and 'firewall' in neutron_plugin_base %}True{% else %}False{% endif %}" horizon_enable_neutron_vpnaas: "{% if neutron_plugin_base is defined and 'vpnaas' in neutron_plugin_base %}True{% else %}False{% endif %}" +horizon_enable_ha_router: "{% if 'ml2' in neutron_plugin_type and (groups['neutron_l3_agent'] | length >= 2) %}True{% else %}False{% endif %}" horizon_rabbitmq_userid: horizon horizon_rabbitmq_vhost: /horizon diff --git a/releasenotes/notes/make-ha-router-a-toggle-9d87d688e8d506c9.yaml b/releasenotes/notes/make-ha-router-a-toggle-9d87d688e8d506c9.yaml new file mode 100644 index 0000000000..8b9165fb55 --- /dev/null +++ b/releasenotes/notes/make-ha-router-a-toggle-9d87d688e8d506c9.yaml @@ -0,0 +1,4 @@ +--- +features: + - Neutron HA router capabilities in Horizon will be enabled automatically if + the neutron plugin type is ML2 and environment has >=2 L3 agent nodes.