Remove min_l3_agents_per_router option

min_l3_agents_per_router parameter has been removed in neutron, so
we can remove it.

Change-Id: Ib919b8cbd3daa8b9b4394567b828d6e9b7b00b32
Closes-Bug: #1677101
This commit is contained in:
ZhongShengping 2017-03-29 11:34:43 +08:00
parent 253158c981
commit ff8e42cc99

View File

@ -55,12 +55,10 @@ agent_down_time = {{ neutron_agent_down_time }}
{% if neutron_services['neutron-linuxbridge-agent']['service_en'] | bool or neutron_services['neutron-openvswitch-agent']['service_en'] | bool %}
{% set max_l3_router = num_agent if num_agent > 2 else 2 %}
{% set min_l3_router = num_agent if (num_agent > 2 and num_agent < max_l3_router) else 2 %}
# L3HA
l3_ha = True
l3_ha_net_cidr = {{ neutron_l3_ha_net_cidr }}
min_l3_agents_per_router = {{ min_l3_router }}
max_l3_agents_per_router = {{ max_l3_router }}
{% if neutron_provider_networks.network_mappings_list is defined %}
ha_network_type = {{ neutron_provider_networks.network_mappings_list[0].split(':')[0] }}