Do not create tun and int bridges manually
Currently integration and tunnel bridges are created by Puppet during deployment. It looks like it's not needed anymore because Neutron handles them itself Change-Id: Id41071fc6128965f4d4cf6b1e03b75e91f8fbec0 Closes-bug: #1436422
This commit is contained in:

committed by
Emilien Macchi

parent
18cb802445
commit
c14a00b322
@@ -166,16 +166,7 @@ class neutron::agents::ml2::ovs (
|
||||
neutron_agent_ovs { 'securitygroup/firewall_driver': ensure => absent }
|
||||
}
|
||||
|
||||
vs_bridge { $integration_bridge:
|
||||
ensure => present,
|
||||
before => Service['neutron-ovs-agent-service'],
|
||||
}
|
||||
|
||||
if $enable_tunneling {
|
||||
vs_bridge { $tunnel_bridge:
|
||||
ensure => present,
|
||||
before => Service['neutron-ovs-agent-service'],
|
||||
}
|
||||
neutron_agent_ovs {
|
||||
'ovs/enable_tunneling': value => true;
|
||||
'ovs/tunnel_bridge': value => $tunnel_bridge;
|
||||
|
@@ -51,14 +51,6 @@ describe 'neutron::agents::ml2::ovs' do
|
||||
is_expected.to contain_neutron_agent_ovs('ovs/local_ip').with_ensure('absent')
|
||||
end
|
||||
|
||||
it 'configures vs_bridge' do
|
||||
is_expected.to contain_vs_bridge(p[:integration_bridge]).with(
|
||||
:ensure => 'present',
|
||||
:before => 'Service[neutron-ovs-agent-service]'
|
||||
)
|
||||
is_expected.not_to contain_vs_brige(p[:integration_bridge])
|
||||
end
|
||||
|
||||
it 'installs neutron ovs agent package' do
|
||||
if platform_params.has_key?(:ovs_agent_package)
|
||||
is_expected.to contain_package('neutron-ovs-agent').with(
|
||||
@@ -155,10 +147,6 @@ describe 'neutron::agents::ml2::ovs' do
|
||||
is_expected.to contain_neutron_agent_ovs('ovs/enable_tunneling').with_value(true)
|
||||
is_expected.to contain_neutron_agent_ovs('ovs/tunnel_bridge').with_value(default_params[:tunnel_bridge])
|
||||
is_expected.to contain_neutron_agent_ovs('ovs/local_ip').with_value('127.0.0.1')
|
||||
is_expected.to contain_vs_bridge(default_params[:tunnel_bridge]).with(
|
||||
:ensure => 'present',
|
||||
:before => 'Service[neutron-ovs-agent-service]'
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user