Expose security_group_api for nova compute

This is already done for control node nova config, turns out
its needed for computes. This commit should take care of exposing
parameter so if can be set appropriately to nova/quantum.

Change-Id: If4fdb12cb9495ff39e8010be0665904b2a2966ce
This commit is contained in:
Pradeep Kilambi
2013-08-14 14:03:17 -04:00
parent 2073bdbd41
commit 8c748d359d
2 changed files with 4 additions and 1 deletions

View File

@@ -63,6 +63,7 @@ class openstack::compute (
$quantum_firewall_driver = false,
$bridge_mappings = undef,
$bridge_uplinks = undef,
$security_group_api = 'quantum',
# Nova
$nova_admin_tenant_name = 'services',
$nova_admin_user = 'nova',
@@ -246,6 +247,7 @@ class openstack::compute (
quantum_admin_username => $quantum_admin_user,
quantum_admin_tenant_name => $quantum_admin_tenant_name,
quantum_admin_auth_url => "http://${keystone_host}:35357/v2.0",
security_group_api => $security_group_api
}
}

View File

@@ -315,7 +315,8 @@ describe 'openstack::compute' do
:quantum_url => "http://127.0.0.2:9696",
:quantum_admin_tenant_name => 'services',
:quantum_admin_username => 'quantum',
:quantum_admin_auth_url => "http://127.0.0.3:35357/v2.0"
:quantum_admin_auth_url => "http://127.0.0.3:35357/v2.0",
:security_group_api => 'quantum'
)
should_not contain_class('quantum::server')