Merge "Add new config option for nova policy available defaults"
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
A new config option ``nova_policy_roles`` is added in the
|
||||
``compute-feature-enabled`` section. This can be used to
|
||||
configure the available roles that are used as default in
|
||||
nova policy rules.
|
||||
@@ -627,6 +627,14 @@ ComputeFeaturesGroup = [
|
||||
cfg.BoolOpt('unified_limits',
|
||||
default=False,
|
||||
help='Does the test environment support unified limits?'),
|
||||
cfg.ListOpt('nova_policy_roles',
|
||||
default=['admin', 'member', 'reader'],
|
||||
help='Compute service API policies roles list. List all the '
|
||||
'roles which are used as default in Nova policy rules. '
|
||||
'This config option value is used to run the tests with '
|
||||
'the available roles in Nova. For example, if manager '
|
||||
'role is not present in the nova release then tempest '
|
||||
'will use old defaults role token to call nova APIs'),
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user