Add L2GW Tempest plugin support
Change-Id: I3e6b62422340356ce3d320c71b5b8975a22e9f21 Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
This commit is contained in:
parent
b0af6a6b86
commit
a13bad76bf
manifests
releasenotes/notes
spec/classes
@ -139,6 +139,8 @@
|
||||
# Defaults to true
|
||||
# [*neutron_lbaas_available*]
|
||||
# Defaults to true
|
||||
# [*neutron_l2gw_available*]
|
||||
# Defaults to true
|
||||
# [*neutron_vpnaas_available*]
|
||||
# Defaults to false
|
||||
# [*nova_available*]
|
||||
@ -315,6 +317,7 @@ class tempest(
|
||||
$neutron_bgpvpn_available = false,
|
||||
$neutron_fwaas_available = true,
|
||||
$neutron_lbaas_available = true,
|
||||
$neutron_l2gw_available = false,
|
||||
$neutron_vpnaas_available = false,
|
||||
$nova_available = true,
|
||||
$murano_available = false,
|
||||
@ -538,6 +541,7 @@ the future release. Please use tempest::package_ensure instead.")
|
||||
'service_available/panko': value => $panko_available;
|
||||
'service_available/designate': value => $designate_available;
|
||||
'service_available/horizon': value => $horizon_available;
|
||||
'service_available/l2gw': value => $neutron_l2gw_available;
|
||||
'service_available/neutron': value => $neutron_available;
|
||||
'service_available/mistral': value => $mistral_available;
|
||||
'service_available/vitrage': value => $vitrage_available;
|
||||
@ -669,6 +673,13 @@ the future release. Please use tempest::package_ensure instead.")
|
||||
tag => ['openstack', 'tempest-package'],
|
||||
}
|
||||
}
|
||||
if $neutron_l2gw_available and $::tempest::params::python_l2gw_tests {
|
||||
package { 'python-networking-l2gw-tests':
|
||||
ensure => present,
|
||||
name => $::tempest::params::python_l2gw_tests,
|
||||
tag => ['openstack', 'tempest-package'],
|
||||
}
|
||||
}
|
||||
if $neutron_vpnaas_available {
|
||||
package { 'python-neutron-vpnaas-tests':
|
||||
ensure => present,
|
||||
|
@ -29,6 +29,7 @@ class tempest::params {
|
||||
$python_neutron_tests = 'python-neutron-tests'
|
||||
$python_fwaas_tests = 'python-neutron-fwaas-tests'
|
||||
$python_lbaas_tests = 'python-neutron-lbaas-tests'
|
||||
$python_l2gw_tests = 'python-networking-l2gw-tests'
|
||||
$python_vpnaas_tests = 'python-neutron-vpnaas-tests'
|
||||
$python_nova_tests = 'python-nova-tests'
|
||||
$python_sahara_tests = 'python-sahara-tests-tempest'
|
||||
@ -64,6 +65,7 @@ class tempest::params {
|
||||
$python_horizon_tests = false
|
||||
$python_ironic_tests = false
|
||||
$python_keystone_tests = false
|
||||
$python_l2gw_tests = false
|
||||
$python_mistral_tests = false
|
||||
$python_vitrage_tests = false
|
||||
$python_murano_tests = false
|
||||
|
3
releasenotes/notes/add-l2gw-driver-dea71457310f31bd.yaml
Normal file
3
releasenotes/notes/add-l2gw-driver-dea71457310f31bd.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
features:
|
||||
- Add L2GW Tempest plugin support
|
@ -252,6 +252,7 @@ describe 'tempest' do
|
||||
is_expected.to contain_tempest_config('service_available/gnocchi').with(:value => false)
|
||||
is_expected.to contain_tempest_config('service_available/panko').with(:value => false)
|
||||
is_expected.to contain_tempest_config('service_available/horizon').with(:value => true)
|
||||
is_expected.to contain_tempest_config('service_available/l2gw').with(:value => false)
|
||||
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/vitrage').with(:value => false)
|
||||
@ -403,6 +404,7 @@ describe 'tempest' do
|
||||
it { expect { is_expected.to contain_package('python-neutron-lbaas-tests') } }
|
||||
it { expect { is_expected.to contain_package('python-neutron-vpnaas-tests') } }
|
||||
it { expect { is_expected.to contain_package('python-networking-bgpvpn-tests') } }
|
||||
it { expect { is_expected.to contain_package('python-networking-l2gw-tests') } }
|
||||
it { expect { is_expected.to contain_package('python-horizon-tests-tempest') } }
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user