Add Octavia Tempest plugin support.
Change-Id: I64c846d161ac3c2c885e5650b94c6afc42ce840a
This commit is contained in:
parent
cc671da1e0
commit
5c81804918
@ -161,6 +161,8 @@
|
|||||||
# Defaults to false
|
# Defaults to false
|
||||||
# [*congress_available*]
|
# [*congress_available*]
|
||||||
# Defaults to false
|
# Defaults to false
|
||||||
|
# [*octavia_available*]
|
||||||
|
# Defaults to false
|
||||||
# [*keystone_v2*]
|
# [*keystone_v2*]
|
||||||
# Defaults to true
|
# Defaults to true
|
||||||
# [*keystone_v3*]
|
# [*keystone_v3*]
|
||||||
@ -314,6 +316,7 @@ class tempest(
|
|||||||
$mistral_available = false,
|
$mistral_available = false,
|
||||||
$vitrage_available = false,
|
$vitrage_available = false,
|
||||||
$congress_available = false,
|
$congress_available = false,
|
||||||
|
$octavia_available = false,
|
||||||
$keystone_v2 = true,
|
$keystone_v2 = true,
|
||||||
$keystone_v3 = true,
|
$keystone_v3 = true,
|
||||||
$auth_version = 'v2',
|
$auth_version = 'v2',
|
||||||
@ -524,6 +527,7 @@ class tempest(
|
|||||||
'service_available/zaqar': value => $zaqar_available;
|
'service_available/zaqar': value => $zaqar_available;
|
||||||
'service_available/ec2api': value => $ec2api_available;
|
'service_available/ec2api': value => $ec2api_available;
|
||||||
'service_available/congress': value => $congress_available;
|
'service_available/congress': value => $congress_available;
|
||||||
|
'service_available/octavia': value => $octavia_available;
|
||||||
'whitebox/db_uri': value => $whitebox_db_uri;
|
'whitebox/db_uri': value => $whitebox_db_uri;
|
||||||
'cli/cli_dir': value => $cli_dir;
|
'cli/cli_dir': value => $cli_dir;
|
||||||
'scenario/img_dir': value => $img_dir;
|
'scenario/img_dir': value => $img_dir;
|
||||||
@ -719,6 +723,13 @@ class tempest(
|
|||||||
tag => ['openstack', 'tempest-package'],
|
tag => ['openstack', 'tempest-package'],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if $octavia_available and $::tempest::params::python_octavia_tests {
|
||||||
|
package { 'python-octavia-tests':
|
||||||
|
ensure => present,
|
||||||
|
name => $::tempest::params::python_octavia_tests,
|
||||||
|
tag => ['openstack', 'tempest-package'],
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if $configure_images {
|
if $configure_images {
|
||||||
|
@ -37,6 +37,7 @@ class tempest::params {
|
|||||||
$python_zaqar_tests = 'python-zaqar-tests'
|
$python_zaqar_tests = 'python-zaqar-tests'
|
||||||
$python_congress_tests = 'python-congress-tests'
|
$python_congress_tests = 'python-congress-tests'
|
||||||
$python_panko_tests = 'python-panko-tests'
|
$python_panko_tests = 'python-panko-tests'
|
||||||
|
$python_octavia_tests = 'python-octavia-tests'
|
||||||
$package_name = 'openstack-tempest'
|
$package_name = 'openstack-tempest'
|
||||||
}
|
}
|
||||||
'Debian': {
|
'Debian': {
|
||||||
@ -72,6 +73,7 @@ class tempest::params {
|
|||||||
$python_zaqar_tests = false
|
$python_zaqar_tests = false
|
||||||
$python_congress_tests = false
|
$python_congress_tests = false
|
||||||
$python_panko_tests = false
|
$python_panko_tests = false
|
||||||
|
$python_octavia_tests = false
|
||||||
$package_name = 'tempest'
|
$package_name = 'tempest'
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
|
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- Add Octavia Tempest plugin support.
|
@ -262,6 +262,7 @@ describe 'tempest' do
|
|||||||
is_expected.to contain_tempest_config('service_available/zaqar').with(:value => false)
|
is_expected.to contain_tempest_config('service_available/zaqar').with(:value => false)
|
||||||
is_expected.to contain_tempest_config('service_available/congress').with(:value => false)
|
is_expected.to contain_tempest_config('service_available/congress').with(:value => false)
|
||||||
is_expected.to contain_tempest_config('service_available/designate').with(:value => false)
|
is_expected.to contain_tempest_config('service_available/designate').with(:value => false)
|
||||||
|
is_expected.to contain_tempest_config('service_available/octavia').with(:value => false)
|
||||||
is_expected.to contain_tempest_config('whitebox/db_uri').with(:value => nil)
|
is_expected.to contain_tempest_config('whitebox/db_uri').with(:value => nil)
|
||||||
is_expected.to contain_tempest_config('cli/cli_dir').with(:value => nil)
|
is_expected.to contain_tempest_config('cli/cli_dir').with(:value => nil)
|
||||||
is_expected.to contain_tempest_config('oslo_concurrency/lock_path').with(:value => '/var/lib/tempest')
|
is_expected.to contain_tempest_config('oslo_concurrency/lock_path').with(:value => '/var/lib/tempest')
|
||||||
|
Loading…
Reference in New Issue
Block a user