Merge "Fix l3_ha enablement"
This commit is contained in:
commit
109abb2364
@ -236,7 +236,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;
|
||||
|
@ -125,7 +125,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…
Reference in New Issue
Block a user