Add BGPVPN Tempest plugin support

Change-Id: Ie4846b19369d22a4639e30fe33da6e3bfe5c7cac
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
This commit is contained in:
Ricardo Noriega 2017-04-11 17:33:20 +02:00
parent 80bf1fb131
commit 418a03f4d2
4 changed files with 16 additions and 0 deletions

View File

@ -133,6 +133,8 @@
# Defaults to true # Defaults to true
# [*neutron_available*] # [*neutron_available*]
# Defaults to false # Defaults to false
# [*neutron_bgpvpn_available*]
# Defaults to false
# [*neutron_fwaas_available*] # [*neutron_fwaas_available*]
# Defaults to true # Defaults to true
# [*neutron_lbaas_available*] # [*neutron_lbaas_available*]
@ -310,6 +312,7 @@ class tempest(
$designate_available = false, $designate_available = false,
$horizon_available = true, $horizon_available = true,
$neutron_available = false, $neutron_available = false,
$neutron_bgpvpn_available = false,
$neutron_fwaas_available = true, $neutron_fwaas_available = true,
$neutron_lbaas_available = true, $neutron_lbaas_available = true,
$neutron_vpnaas_available = false, $neutron_vpnaas_available = false,
@ -644,6 +647,13 @@ the future release. Please use tempest::package_ensure instead.")
name => $::tempest::params::python_neutron_tests, name => $::tempest::params::python_neutron_tests,
tag => ['openstack', 'tempest-package'], tag => ['openstack', 'tempest-package'],
} }
if $neutron_bgpvpn_available and $::tempest::params::python_bgpvpn_tests {
package { 'python-networking-bgpvpn-tests':
ensure => present,
name => $::tempest::params::python_bgpvpn_tests,
tag => ['openstack', 'tempest-package'],
}
}
if $neutron_fwaas_available { if $neutron_fwaas_available {
package { 'python-neutron-fwaas-tests': package { 'python-neutron-fwaas-tests':
ensure => present, ensure => present,

View File

@ -13,6 +13,7 @@ class tempest::params {
'gcc' 'gcc'
] ]
$python_aodh_tests = 'python-aodh-tests' $python_aodh_tests = 'python-aodh-tests'
$python_bgpvpn_tests = 'python-networking-bgpvpn-tests'
$python_ceilometer_tests = 'python-ceilometer-tests' $python_ceilometer_tests = 'python-ceilometer-tests'
$python_cinder_tests = 'python-cinder-tests' $python_cinder_tests = 'python-cinder-tests'
$python_designate_tests = 'python-designate-tests-tempest' $python_designate_tests = 'python-designate-tests-tempest'
@ -53,6 +54,7 @@ class tempest::params {
'python-virtualenv', 'python-virtualenv',
] ]
$python_aodh_tests = false $python_aodh_tests = false
$python_bgpvpn_tests = false
$python_ceilometer_tests = false $python_ceilometer_tests = false
$python_cinder_tests = false $python_cinder_tests = false
$python_designate_tests = false $python_designate_tests = false

View File

@ -0,0 +1,3 @@
---
features:
- Add BGPVPN Tempest plugin support

View File

@ -401,6 +401,7 @@ describe 'tempest' do
it { expect { is_expected.to contain_package('python-neutron-fwaas-tests') } } it { expect { is_expected.to contain_package('python-neutron-fwaas-tests') } }
it { expect { is_expected.to contain_package('python-neutron-lbaas-tests') } } 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-neutron-vpnaas-tests') } }
it { expect { is_expected.to contain_package('python-networking-bgpvpn-tests') } }
it { expect { is_expected.to contain_package('python-horizon-tests-tempest') } } it { expect { is_expected.to contain_package('python-horizon-tests-tempest') } }
end end
end end