Add support for [placement] enforce_scope
This option is available since tempest 34.0.0 . Depends-on: https://review.opendev.org/c/openstack/tempest/+/866212 Change-Id: I1d461978249b6b5120821ac7dfe20b15093ad691
This commit is contained in:
parent
f578db95b4
commit
61982ff191
|
@ -195,6 +195,8 @@
|
|||
# Defaults to $facts['os_service_default']
|
||||
# [*nova_enforce_scope*]
|
||||
# Defaults to $facts['os_service_default']
|
||||
# [*placement_enforce_scope*]
|
||||
# Defaults to $facts['os_service_default']
|
||||
# [*keystone_v3*]
|
||||
# Defaults to true
|
||||
# [*auth_version*]
|
||||
|
@ -404,6 +406,7 @@ class tempest(
|
|||
$keystone_enforce_scope = $facts['os_service_default'],
|
||||
$neutron_enforce_scope = $facts['os_service_default'],
|
||||
$nova_enforce_scope = $facts['os_service_default'],
|
||||
$placement_enforce_scope = $facts['os_service_default'],
|
||||
$keystone_v3 = true,
|
||||
$auth_version = 'v3',
|
||||
$run_service_broker_tests = false,
|
||||
|
@ -629,6 +632,7 @@ class tempest(
|
|||
'identity-feature-enabled/enforce_scope': value => $keystone_enforce_scope;
|
||||
'enforce_scope/neutron': value => $neutron_enforce_scope;
|
||||
'enforce_scope/nova': value => $nova_enforce_scope;
|
||||
'enforce_scope/placement': value => $placement_enforce_scope;
|
||||
'cli/cli_dir': value => $cli_dir;
|
||||
'scenario/img_file': value => $img_file;
|
||||
'scenario/img_disk_format': value => $img_disk_format;
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
features:
|
||||
- |
|
||||
The new ``tempest::placement_enforce_scope`` parameter has been added.
|
|
@ -278,6 +278,7 @@ describe 'tempest' do
|
|||
is_expected.to contain_tempest_config('identity-feature-enabled/enforce_scope').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_tempest_config('enforce_scope/neutron').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_tempest_config('enforce_scope/nova').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_tempest_config('enforce_scope/placement').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_tempest_config('dns/nameservers').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_tempest_config('aws/ec2_url').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_tempest_config('aws/aws_region').with(:value => '<SERVICE DEFAULT>')
|
||||
|
|
Loading…
Reference in New Issue