Allow ovs_enable_tunneling to be Passed Through
Previously, the openstack::compute class did not pass the ovs_enable_tunneling parameter. Now that the module supports Provider Networking, ovs_enable_tunneling must be configurable to allow users to disable tunneling when using VLAN networking. Adds parameter ovs_enable_tunneling, which defaults to true. Change-Id: I73d659d5857b71448e5d5d0ddc65fa79ce8f1d95
This commit is contained in:
@@ -11,6 +11,10 @@
|
||||
# Driver used to implement Quantum firewalling.
|
||||
# (optional) Defaults to false.
|
||||
#
|
||||
# [ovs_enable_tunneling]
|
||||
# Enable/disable the Quantum OVS GRE tunneling networking mode.
|
||||
# Optional. Defaults to true.
|
||||
#
|
||||
# [rabbit_hosts] An array of IP addresses or Virttual IP address for connecting to a RabbitMQ Cluster.
|
||||
# Optional. Defaults to false.
|
||||
#
|
||||
@@ -54,6 +58,7 @@ class openstack::compute (
|
||||
$quantum_auth_url = 'http://127.0.0.1:35357/v2.0',
|
||||
$keystone_host = '127.0.0.1',
|
||||
$quantum_host = '127.0.0.1',
|
||||
$ovs_enable_tunneling = true,
|
||||
$ovs_local_ip = false,
|
||||
$quantum_firewall_driver = false,
|
||||
$bridge_mappings = undef,
|
||||
@@ -212,6 +217,7 @@ class openstack::compute (
|
||||
rabbit_password => $rabbit_password,
|
||||
# Quantum OVS
|
||||
enable_ovs_agent => $enable_ovs_agent,
|
||||
ovs_enable_tunneling => $ovs_enable_tunneling,
|
||||
firewall_driver => $quantum_firewall_driver,
|
||||
# Quantum L3 Agent
|
||||
enable_l3_agent => $enable_l3_agent,
|
||||
|
@@ -278,6 +278,7 @@ describe 'openstack::compute' do
|
||||
:quantum => true,
|
||||
:keystone_host => '127.0.0.3',
|
||||
:quantum_host => '127.0.0.2',
|
||||
:ovs_enable_tunneling => true,
|
||||
:quantum_user_password => 'quantum_user_password',
|
||||
:quantum_firewall_driver => false
|
||||
)
|
||||
@@ -292,6 +293,7 @@ describe 'openstack::compute' do
|
||||
:rabbit_user => 'openstack',
|
||||
:rabbit_password => params[:rabbit_password],
|
||||
:enable_ovs_agent => true,
|
||||
:ovs_enable_tunneling => params[:ovs_enable_tunneling],
|
||||
:firewall_driver => params[:quantum_firewall_driver],
|
||||
:enable_l3_agent => false,
|
||||
:enable_dhcp_agent => false,
|
||||
|
Reference in New Issue
Block a user