diff --git a/manifests/all.pp b/manifests/all.pp index c13698f..212c53c 100644 --- a/manifests/all.pp +++ b/manifests/all.pp @@ -215,6 +215,7 @@ class openstack::all ( $neutron_db_name = 'neutron', $neutron_auth_url = 'http://127.0.0.1:35357/v2.0', $enable_neutron_server = true, + $ovs_enable_tunneling = true, $ovs_local_ip = false, $network_vlan_ranges = undef, $bridge_mappings = undef, @@ -448,6 +449,7 @@ class openstack::all ( rabbit_password => $rabbit_password, rabbit_virtual_host => $rabbit_virtual_host, # Neutron OVS + ovs_enable_tunneling => $ovs_enable_tunneling, ovs_local_ip => $ovs_local_ip_real, bridge_uplinks => $bridge_uplinks_real, bridge_mappings => $bridge_mappings_real, diff --git a/spec/classes/openstack_all_spec.rb b/spec/classes/openstack_all_spec.rb index 47308d1..dc0f305 100644 --- a/spec/classes/openstack_all_spec.rb +++ b/spec/classes/openstack_all_spec.rb @@ -79,6 +79,7 @@ describe 'openstack::all' do :neutron_user_password => 'neutron_user_password', :neutron_db_password => 'neutron_db_password', :bridge_interface => 'eth0', + :ovs_enable_tunneling => true, :ovs_local_ip => '10.0.1.1' ) end @@ -93,6 +94,7 @@ describe 'openstack::all' do :neutron_user_password => 'neutron_user_password', :neutron_db_password => 'neutron_db_password', :bridge_interface => 'eth0', + :ovs_enable_tunneling => true, :ovs_local_ip => '10.0.1.1', :metadata_shared_secret => 'shared_md_secret' ) @@ -104,6 +106,7 @@ describe 'openstack::all' do :rabbit_user => 'openstack', :rabbit_password => 'rabbit_pw', :rabbit_virtual_host => '/', + :ovs_enable_tunneling => true, :ovs_local_ip => '10.0.1.1', :bridge_uplinks => 'br-ex:eth0', :bridge_mappings => 'default:br-ex', @@ -132,6 +135,7 @@ describe 'openstack::all' do :neutron_user_password => 'neutron_user_password', :neutron_db_password => 'neutron_db_password', :bridge_interface => 'eth0', + :ovs_enable_tunneling => true, :ovs_local_ip => '10.0.1.1', :metadata_shared_secret => 'shared_md_secret', :force_config_drive => true @@ -151,6 +155,7 @@ describe 'openstack::all' do :neutron_user_password => 'neutron_user_password', :neutron_db_password => 'neutron_db_password', :bridge_interface => 'eth0', + :ovs_enable_tunneling => true, :ovs_local_ip => '10.0.1.1', :network_vlan_ranges => '1:1000', :bridge_mappings => ['intranet:br-intra','extranet:br-extra'], @@ -166,6 +171,7 @@ describe 'openstack::all' do :rabbit_user => 'openstack', :rabbit_password => 'rabbit_pw', :rabbit_virtual_host => '/', + :ovs_enable_tunneling => true, :ovs_local_ip => '10.0.1.1', :network_vlan_ranges => '1:1000', :bridge_uplinks => ['intranet:eth1','extranet:eth2'], @@ -197,6 +203,7 @@ describe 'openstack::all' do :neutron_user_password => 'neutron_user_password', :neutron_db_password => 'neutron_db_password', :bridge_interface => 'eth0', + :ovs_enable_tunneling => true, :ovs_local_ip => '10.0.1.1', :metadata_shared_secret => 'shared_md_secret' ) @@ -250,6 +257,7 @@ describe 'openstack::all' do :neutron_user_password => 'neutron_user_password', :neutron_db_password => 'neutron_db_password', :bridge_interface => 'eth0', + :ovs_enable_tunneling => true, :ovs_local_ip => '10.0.1.1', :metadata_shared_secret => 'shared_md_secret', :cinder_db_password => 'cinder_db_password', @@ -274,6 +282,7 @@ describe 'openstack::all' do :neutron_user_password => 'neutron_user_password', :neutron_db_password => 'neutron_db_password', :bridge_interface => 'eth0', + :ovs_enable_tunneling => true, :ovs_local_ip => '10.0.1.1', :metadata_shared_secret => 'shared_md_secret', :cinder_db_password => 'cinder_db_password', @@ -490,6 +499,7 @@ describe 'openstack::all' do :neutron_user_password => 'neutron_user_password', :neutron_db_password => 'neutron_db_password', :bridge_interface => 'eth0', + :ovs_enable_tunneling => true, :ovs_local_ip => '10.0.1.1', :metadata_shared_secret => 'shared_md_secret', :cinder_db_password => 'cinder_db_password',