Merge "Expose ovs_enable_tunneling parameter for neutron"

This commit is contained in:
Jenkins
2013-10-02 17:51:49 +00:00
committed by Gerrit Code Review
2 changed files with 12 additions and 0 deletions

View File

@@ -216,6 +216,7 @@ class openstack::all (
$neutron_db_name = 'neutron', $neutron_db_name = 'neutron',
$neutron_auth_url = 'http://127.0.0.1:35357/v2.0', $neutron_auth_url = 'http://127.0.0.1:35357/v2.0',
$enable_neutron_server = true, $enable_neutron_server = true,
$ovs_enable_tunneling = true,
$ovs_local_ip = false, $ovs_local_ip = false,
$network_vlan_ranges = undef, $network_vlan_ranges = undef,
$bridge_mappings = undef, $bridge_mappings = undef,
@@ -454,6 +455,7 @@ class openstack::all (
rabbit_password => $rabbit_password, rabbit_password => $rabbit_password,
rabbit_virtual_host => $rabbit_virtual_host, rabbit_virtual_host => $rabbit_virtual_host,
# Neutron OVS # Neutron OVS
ovs_enable_tunneling => $ovs_enable_tunneling,
ovs_local_ip => $ovs_local_ip_real, ovs_local_ip => $ovs_local_ip_real,
bridge_uplinks => $bridge_uplinks_real, bridge_uplinks => $bridge_uplinks_real,
bridge_mappings => $bridge_mappings_real, bridge_mappings => $bridge_mappings_real,

View File

@@ -79,6 +79,7 @@ describe 'openstack::all' do
:neutron_user_password => 'neutron_user_password', :neutron_user_password => 'neutron_user_password',
:neutron_db_password => 'neutron_db_password', :neutron_db_password => 'neutron_db_password',
:bridge_interface => 'eth0', :bridge_interface => 'eth0',
:ovs_enable_tunneling => true,
:ovs_local_ip => '10.0.1.1' :ovs_local_ip => '10.0.1.1'
) )
end end
@@ -93,6 +94,7 @@ describe 'openstack::all' do
:neutron_user_password => 'neutron_user_password', :neutron_user_password => 'neutron_user_password',
:neutron_db_password => 'neutron_db_password', :neutron_db_password => 'neutron_db_password',
:bridge_interface => 'eth0', :bridge_interface => 'eth0',
:ovs_enable_tunneling => true,
:ovs_local_ip => '10.0.1.1', :ovs_local_ip => '10.0.1.1',
:metadata_shared_secret => 'shared_md_secret' :metadata_shared_secret => 'shared_md_secret'
) )
@@ -104,6 +106,7 @@ describe 'openstack::all' do
:rabbit_user => 'openstack', :rabbit_user => 'openstack',
:rabbit_password => 'rabbit_pw', :rabbit_password => 'rabbit_pw',
:rabbit_virtual_host => '/', :rabbit_virtual_host => '/',
:ovs_enable_tunneling => true,
:ovs_local_ip => '10.0.1.1', :ovs_local_ip => '10.0.1.1',
:bridge_uplinks => 'br-ex:eth0', :bridge_uplinks => 'br-ex:eth0',
:bridge_mappings => 'default:br-ex', :bridge_mappings => 'default:br-ex',
@@ -133,6 +136,7 @@ describe 'openstack::all' do
:neutron_user_password => 'neutron_user_password', :neutron_user_password => 'neutron_user_password',
:neutron_db_password => 'neutron_db_password', :neutron_db_password => 'neutron_db_password',
:bridge_interface => 'eth0', :bridge_interface => 'eth0',
:ovs_enable_tunneling => true,
:ovs_local_ip => '10.0.1.1', :ovs_local_ip => '10.0.1.1',
:metadata_shared_secret => 'shared_md_secret', :metadata_shared_secret => 'shared_md_secret',
:force_config_drive => true :force_config_drive => true
@@ -152,6 +156,7 @@ describe 'openstack::all' do
:neutron_user_password => 'neutron_user_password', :neutron_user_password => 'neutron_user_password',
:neutron_db_password => 'neutron_db_password', :neutron_db_password => 'neutron_db_password',
:bridge_interface => 'eth0', :bridge_interface => 'eth0',
:ovs_enable_tunneling => true,
:ovs_local_ip => '10.0.1.1', :ovs_local_ip => '10.0.1.1',
:network_vlan_ranges => '1:1000', :network_vlan_ranges => '1:1000',
:bridge_mappings => ['intranet:br-intra','extranet:br-extra'], :bridge_mappings => ['intranet:br-intra','extranet:br-extra'],
@@ -167,6 +172,7 @@ describe 'openstack::all' do
:rabbit_user => 'openstack', :rabbit_user => 'openstack',
:rabbit_password => 'rabbit_pw', :rabbit_password => 'rabbit_pw',
:rabbit_virtual_host => '/', :rabbit_virtual_host => '/',
:ovs_enable_tunneling => true,
:ovs_local_ip => '10.0.1.1', :ovs_local_ip => '10.0.1.1',
:network_vlan_ranges => '1:1000', :network_vlan_ranges => '1:1000',
:bridge_uplinks => ['intranet:eth1','extranet:eth2'], :bridge_uplinks => ['intranet:eth1','extranet:eth2'],
@@ -199,6 +205,7 @@ describe 'openstack::all' do
:neutron_user_password => 'neutron_user_password', :neutron_user_password => 'neutron_user_password',
:neutron_db_password => 'neutron_db_password', :neutron_db_password => 'neutron_db_password',
:bridge_interface => 'eth0', :bridge_interface => 'eth0',
:ovs_enable_tunneling => true,
:ovs_local_ip => '10.0.1.1', :ovs_local_ip => '10.0.1.1',
:metadata_shared_secret => 'shared_md_secret' :metadata_shared_secret => 'shared_md_secret'
) )
@@ -253,6 +260,7 @@ describe 'openstack::all' do
:neutron_user_password => 'neutron_user_password', :neutron_user_password => 'neutron_user_password',
:neutron_db_password => 'neutron_db_password', :neutron_db_password => 'neutron_db_password',
:bridge_interface => 'eth0', :bridge_interface => 'eth0',
:ovs_enable_tunneling => true,
:ovs_local_ip => '10.0.1.1', :ovs_local_ip => '10.0.1.1',
:metadata_shared_secret => 'shared_md_secret', :metadata_shared_secret => 'shared_md_secret',
:cinder_db_password => 'cinder_db_password', :cinder_db_password => 'cinder_db_password',
@@ -277,6 +285,7 @@ describe 'openstack::all' do
:neutron_user_password => 'neutron_user_password', :neutron_user_password => 'neutron_user_password',
:neutron_db_password => 'neutron_db_password', :neutron_db_password => 'neutron_db_password',
:bridge_interface => 'eth0', :bridge_interface => 'eth0',
:ovs_enable_tunneling => true,
:ovs_local_ip => '10.0.1.1', :ovs_local_ip => '10.0.1.1',
:metadata_shared_secret => 'shared_md_secret', :metadata_shared_secret => 'shared_md_secret',
:cinder_db_password => 'cinder_db_password', :cinder_db_password => 'cinder_db_password',
@@ -496,6 +505,7 @@ describe 'openstack::all' do
:neutron_user_password => 'neutron_user_password', :neutron_user_password => 'neutron_user_password',
:neutron_db_password => 'neutron_db_password', :neutron_db_password => 'neutron_db_password',
:bridge_interface => 'eth0', :bridge_interface => 'eth0',
:ovs_enable_tunneling => true,
:ovs_local_ip => '10.0.1.1', :ovs_local_ip => '10.0.1.1',
:metadata_shared_secret => 'shared_md_secret', :metadata_shared_secret => 'shared_md_secret',
:cinder_db_password => 'cinder_db_password', :cinder_db_password => 'cinder_db_password',