add vitrage tests
Change-Id: I9c55f4caa95f49ab915e6264a34e765c46f790e1
This commit is contained in:
parent
cf87092f07
commit
df0ddad85e
|
@ -134,6 +134,8 @@
|
||||||
# Defaults to false
|
# Defaults to false
|
||||||
# [*mistral_available*]
|
# [*mistral_available*]
|
||||||
# Defaults to false
|
# Defaults to false
|
||||||
|
# [*vitrage_available*]
|
||||||
|
# Defaults to false
|
||||||
# [*run_service_broker_tests*]
|
# [*run_service_broker_tests*]
|
||||||
# Defaults to false
|
# Defaults to false
|
||||||
# [*sahara_available*]
|
# [*sahara_available*]
|
||||||
|
@ -289,6 +291,7 @@ class tempest(
|
||||||
$zaqar_available = false,
|
$zaqar_available = false,
|
||||||
$ec2api_available = false,
|
$ec2api_available = false,
|
||||||
$mistral_available = false,
|
$mistral_available = false,
|
||||||
|
$vitrage_available = false,
|
||||||
$keystone_v2 = true,
|
$keystone_v2 = true,
|
||||||
$keystone_v3 = true,
|
$keystone_v3 = true,
|
||||||
$auth_version = 'v2',
|
$auth_version = 'v2',
|
||||||
|
@ -461,6 +464,7 @@ class tempest(
|
||||||
'service_available/horizon': value => $horizon_available;
|
'service_available/horizon': value => $horizon_available;
|
||||||
'service_available/neutron': value => $neutron_available;
|
'service_available/neutron': value => $neutron_available;
|
||||||
'service_available/mistral': value => $mistral_available;
|
'service_available/mistral': value => $mistral_available;
|
||||||
|
'service_available/vitrage': value => $vitrage_available;
|
||||||
'service_available/nova': value => $nova_available;
|
'service_available/nova': value => $nova_available;
|
||||||
'service_available/murano': value => $murano_available;
|
'service_available/murano': value => $murano_available;
|
||||||
'service_available/sahara': value => $sahara_available;
|
'service_available/sahara': value => $sahara_available;
|
||||||
|
@ -622,6 +626,13 @@ class tempest(
|
||||||
tag => ['openstack', 'tempest-package'],
|
tag => ['openstack', 'tempest-package'],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if $vitrage_available and $::tempest::params::python_vitrage_tests {
|
||||||
|
package { 'python-vitrage-tests':
|
||||||
|
ensure => present,
|
||||||
|
name => $::tempest::params::python_vitrage_tests,
|
||||||
|
tag => ['openstack', 'tempest-package'],
|
||||||
|
}
|
||||||
|
}
|
||||||
if $designate_available and $::tempest::params::python_designate_tests {
|
if $designate_available and $::tempest::params::python_designate_tests {
|
||||||
package { 'python-designate-tests':
|
package { 'python-designate-tests':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
|
|
|
@ -23,6 +23,7 @@ class tempest::params {
|
||||||
$python_ironic_tests = 'python-ironic-tests'
|
$python_ironic_tests = 'python-ironic-tests'
|
||||||
$python_keystone_tests = 'python-keystone-tests'
|
$python_keystone_tests = 'python-keystone-tests'
|
||||||
$python_mistral_tests = 'python-mistral-tests'
|
$python_mistral_tests = 'python-mistral-tests'
|
||||||
|
$python_vitrage_tests = 'python-vitrage-tests-tempest'
|
||||||
$python_murano_tests = 'python-murano-tests'
|
$python_murano_tests = 'python-murano-tests'
|
||||||
$python_neutron_tests = 'python-neutron-tests'
|
$python_neutron_tests = 'python-neutron-tests'
|
||||||
$python_fwaas_tests = 'python-neutron-fwaas-tests'
|
$python_fwaas_tests = 'python-neutron-fwaas-tests'
|
||||||
|
@ -56,6 +57,7 @@ class tempest::params {
|
||||||
$python_ironic_tests = false
|
$python_ironic_tests = false
|
||||||
$python_keystone_tests = false
|
$python_keystone_tests = false
|
||||||
$python_mistral_tests = false
|
$python_mistral_tests = false
|
||||||
|
$python_vitrage_tests = false
|
||||||
$python_murano_tests = false
|
$python_murano_tests = false
|
||||||
$python_neutron_tests = false
|
$python_neutron_tests = false
|
||||||
$python_nova_tests = false
|
$python_nova_tests = false
|
||||||
|
|
|
@ -248,6 +248,7 @@ describe 'tempest' do
|
||||||
is_expected.to contain_tempest_config('service_available/horizon').with(:value => true)
|
is_expected.to contain_tempest_config('service_available/horizon').with(:value => true)
|
||||||
is_expected.to contain_tempest_config('service_available/neutron').with(:value => true)
|
is_expected.to contain_tempest_config('service_available/neutron').with(:value => true)
|
||||||
is_expected.to contain_tempest_config('service_available/mistral').with(:value => false)
|
is_expected.to contain_tempest_config('service_available/mistral').with(:value => false)
|
||||||
|
is_expected.to contain_tempest_config('service_available/vitrage').with(:value => false)
|
||||||
is_expected.to contain_tempest_config('service_available/nova').with(:value => true)
|
is_expected.to contain_tempest_config('service_available/nova').with(:value => true)
|
||||||
is_expected.to contain_tempest_config('service_available/sahara').with(:value => false)
|
is_expected.to contain_tempest_config('service_available/sahara').with(:value => false)
|
||||||
is_expected.to contain_tempest_config('service_available/murano').with(:value => false)
|
is_expected.to contain_tempest_config('service_available/murano').with(:value => false)
|
||||||
|
|
Loading…
Reference in New Issue