Merge "Add support for RabbitMQ Mirrored Queues."

This commit is contained in:
Jenkins
2013-07-06 18:19:33 +00:00
committed by Gerrit Code Review
2 changed files with 8 additions and 0 deletions

View File

@@ -86,6 +86,11 @@
# Host where rabbitmq is running. # Host where rabbitmq is running.
# (optional) 127.0.0.1 # (optional) 127.0.0.1
# #
# [rabbit_hosts]
# Enable/disable Qauntum to use rabbitmq mirrored queues.
# Specifies an array of clustered rabbitmq brokers.
# (optional) false
#
# [rabbit_virtual_host] # [rabbit_virtual_host]
# Virtual host to use for rabbitmq. # Virtual host to use for rabbitmq.
# (optional) Defaults to '/'. # (optional) Defaults to '/'.
@@ -159,6 +164,7 @@ class openstack::quantum (
# Rabbit Information # Rabbit Information
$rabbit_user = 'rabbit_user', $rabbit_user = 'rabbit_user',
$rabbit_host = '127.0.0.1', $rabbit_host = '127.0.0.1',
$rabbit_hosts = false,
$rabbit_virtual_host = '/', $rabbit_virtual_host = '/',
# Database. Currently mysql is the only option. # Database. Currently mysql is the only option.
$db_type = 'mysql', $db_type = 'mysql',
@@ -177,6 +183,7 @@ class openstack::quantum (
enabled => $enabled, enabled => $enabled,
bind_host => $bind_address, bind_host => $bind_address,
rabbit_host => $rabbit_host, rabbit_host => $rabbit_host,
rabbit_hosts => $rabbit_hosts,
rabbit_virtual_host => $rabbit_virtual_host, rabbit_virtual_host => $rabbit_virtual_host,
rabbit_user => $rabbit_user, rabbit_user => $rabbit_user,
rabbit_password => $rabbit_password, rabbit_password => $rabbit_password,

View File

@@ -30,6 +30,7 @@ describe 'openstack::quantum' do
:enabled => true, :enabled => true,
:bind_host => '0.0.0.0', :bind_host => '0.0.0.0',
:rabbit_host => '127.0.0.1', :rabbit_host => '127.0.0.1',
:rabbit_hosts => false,
:rabbit_virtual_host => '/', :rabbit_virtual_host => '/',
:rabbit_user => 'rabbit_user', :rabbit_user => 'rabbit_user',
:rabbit_password => 'rabbit_pass', :rabbit_password => 'rabbit_pass',