Fix l3_ha enablement
The L3 HA feature needs to be enabled using "l3_ha=True" instead of "ha_enabled=true". Change-Id: I415001419474dd8d242fe238bbf88b5c45c9f3e9
This commit is contained in:
parent
cf3110c625
commit
05eb42aae9
@ -224,7 +224,7 @@ class neutron::server (
|
||||
if $l3_ha {
|
||||
if $min_l3_agents_per_router <= $max_l3_agents_per_router or $max_l3_agents_per_router == '0' {
|
||||
neutron_config {
|
||||
'DEFAULT/ha_enabled': value => true;
|
||||
'DEFAULT/l3_ha': value => true;
|
||||
'DEFAULT/max_l3_agents_per_router': value => $max_l3_agents_per_router;
|
||||
'DEFAULT/min_l3_agents_per_router': value => $min_l3_agents_per_router;
|
||||
'DEFAULT/l3_ha_net_cidr': value => $l3_ha_net_cidr;
|
||||
|
@ -121,7 +121,7 @@ describe 'neutron::server' do
|
||||
params.merge!(:l3_ha => true)
|
||||
end
|
||||
it 'should enable HA routers' do
|
||||
should contain_neutron_config('DEFAULT/ha_enabled').with_value(true)
|
||||
should contain_neutron_config('DEFAULT/l3_ha').with_value(true)
|
||||
should contain_neutron_config('DEFAULT/max_l3_agents_per_router').with_value('3')
|
||||
should contain_neutron_config('DEFAULT/min_l3_agents_per_router').with_value('2')
|
||||
should contain_neutron_config('DEFAULT/l3_ha_net_cidr').with_value('169.254.192.0/18')
|
||||
|
Loading…
x
Reference in New Issue
Block a user