Automatically enable neutron ha router capabilities
This change will automatically set the variable `horizon_enable_ha_router` to True if the neutron plugin type is ML2 and the environment has >=2 l3 agent nodes. This will provide extra functionality in horizon to manage HA routers. Change-Id: I73c48163927673900befd4dbce631d0ee79994e5 Depends-On: I5edb7576d977bc558d9411dca62a029eb1856000 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
parent
62501c3806
commit
96443f586d
@ -176,6 +176,9 @@ neutron_service_in_ldap: "{{ service_ldap_backend_enabled }}"
|
|||||||
neutron_rabbitmq_userid: neutron
|
neutron_rabbitmq_userid: neutron
|
||||||
neutron_rabbitmq_vhost: /neutron
|
neutron_rabbitmq_vhost: /neutron
|
||||||
|
|
||||||
|
# Neutron Plugins
|
||||||
|
neutron_plugin_type: ml2.lxb
|
||||||
|
|
||||||
|
|
||||||
## Glance
|
## Glance
|
||||||
glance_service_port: 9292
|
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_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_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_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_userid: horizon
|
||||||
horizon_rabbitmq_vhost: /horizon
|
horizon_rabbitmq_vhost: /horizon
|
||||||
|
|
||||||
|
@ -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.
|
Loading…
Reference in New Issue
Block a user