Add neutron-dynamic-routing tests
Depends-On: https://review.openstack.org/#/c/585859/ Change-Id: I3d98e66eb09396f428f31b510d38a80ee83a208e
This commit is contained in:
parent
f55de8a183
commit
700d03a206
@ -145,6 +145,8 @@
|
||||
# Defaults to true
|
||||
# [*neutron_vpnaas_available*]
|
||||
# Defaults to false
|
||||
# [*neutron_dr_available*]
|
||||
# Defaults to false
|
||||
# [*nova_available*]
|
||||
# Defaults to true
|
||||
# [*murano_available*]
|
||||
@ -330,6 +332,7 @@ class tempest(
|
||||
$neutron_lbaas_available = true,
|
||||
$neutron_l2gw_available = false,
|
||||
$neutron_vpnaas_available = false,
|
||||
$neutron_dr_available = false,
|
||||
$nova_available = true,
|
||||
$murano_available = false,
|
||||
$sahara_available = false,
|
||||
@ -491,7 +494,7 @@ class tempest(
|
||||
refreshonly => true,
|
||||
require => Package['tempest'],
|
||||
}
|
||||
|
||||
Package<| tag == 'tempest-package' |> -> Exec['tempest-workspace']
|
||||
Package['tempest'] ~> Exec['tempest-workspace']
|
||||
Exec['tempest-workspace'] -> Tempest_config<||>
|
||||
}
|
||||
@ -679,6 +682,13 @@ class tempest(
|
||||
tag => ['openstack', 'tempest-package'],
|
||||
}
|
||||
}
|
||||
if $neutron_dr_available and $::tempest::params::python_dr_tests {
|
||||
package { 'python-neutron-dynamic-routing-tests':
|
||||
ensure => present,
|
||||
name => $::tempest::params::python_dr_tests,
|
||||
tag => ['openstack', 'tempest-package'],
|
||||
}
|
||||
}
|
||||
}
|
||||
if $nova_available and $::tempest::params::python_nova_tests {
|
||||
package { 'python-nova-tests':
|
||||
|
@ -30,6 +30,7 @@ class tempest::params {
|
||||
$python_lbaas_tests = 'python-neutron-lbaas-tests'
|
||||
$python_l2gw_tests = 'python-networking-l2gw-tests-tempest'
|
||||
$python_vpnaas_tests = 'python-neutron-vpnaas-tests'
|
||||
$python_dr_tests = 'python2-neutron-dynamic-routing-tests'
|
||||
$python_nova_tests = 'python-nova-tests'
|
||||
$python_sahara_tests = 'python-sahara-tests-tempest'
|
||||
$python_swift_tests = 'python-swift-tests'
|
||||
|
@ -410,6 +410,7 @@ describe 'tempest' do
|
||||
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-vpnaas-tests') } }
|
||||
it { expect { is_expected.to contain_package('python-neutron-dynamic-routing-tests') } }
|
||||
it { expect { is_expected.to contain_package('python-networking-bgpvpn-tests-tempest') } }
|
||||
it { expect { is_expected.to contain_package('python-networking-l2gw-tests-tempest') } }
|
||||
it { expect { is_expected.to contain_package('python-horizon-tests-tempest') } }
|
||||
|
Loading…
x
Reference in New Issue
Block a user