Ensure tunnel types are absent if not configured
This patch fixes a bug where updating a configuration wouldn't remove agent/tunnel_types configuration when required. Change-Id: I8248ad80e6ff88aec252919fa687018bda78a60b Closes-Bug: #1832251
This commit is contained in:
parent
d63c34681b
commit
6c34ce2a42
@ -313,6 +313,7 @@ class neutron::agents::ml2::ovs (
|
||||
'ovs/local_ip': ensure => absent;
|
||||
'ovs/int_peer_patch_port': ensure => absent;
|
||||
'ovs/tun_peer_patch_port': ensure => absent;
|
||||
'agent/tunnel_types': ensure => absent;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -59,6 +59,7 @@ describe 'neutron::agents::ml2::ovs' do
|
||||
should contain_neutron_agent_ovs('ovs/local_ip').with_ensure('absent')
|
||||
should contain_neutron_agent_ovs('ovs/int_peer_patch_port').with_ensure('absent')
|
||||
should contain_neutron_agent_ovs('ovs/tun_peer_patch_port').with_ensure('absent')
|
||||
should contain_neutron_agent_ovs('agent/tunnel_types').with_ensure('absent')
|
||||
end
|
||||
|
||||
it 'installs neutron ovs agent package' do
|
||||
|
Loading…
Reference in New Issue
Block a user