Clarify the enforce_scope config option help message

enforce_scope config option enable enforce_scope as well
as the enforce_new_defaults config options of services. We
need to mention the same in tempest config option help message
also.

Change-Id: I733947a569b5767a1a669d7e949d65837d77b859
This commit is contained in:
Ghanshyam Mann 2022-10-15 20:18:58 -05:00
parent beda3306a2
commit 0fe9663a26
1 changed files with 25 additions and 15 deletions

View File

@ -1242,29 +1242,39 @@ enforce_scope_group = cfg.OptGroup(name="enforce_scope",
EnforceScopeGroup = [
cfg.BoolOpt('nova',
default=False,
help='Does the compute service API policies enforce scope? '
'This configuration value should be same as '
'nova.conf: [oslo_policy].enforce_scope option.'),
help='Does the compute service API policies enforce scope and '
'new defaults? This configuration value should be '
'enabled when nova.conf: [oslo_policy]. '
'enforce_new_defaults and nova.conf: [oslo_policy]. '
'enforce_scope options are enabled in nova conf.'),
cfg.BoolOpt('neutron',
default=False,
help='Does the network service API policies enforce scope? '
'This configuration value should be same as '
'neutron.conf: [oslo_policy].enforce_scope option.'),
help='Does the network service API policies enforce scope and '
'new defaults? This configuration value should be '
'enabled when neutron.conf: [oslo_policy]. '
'enforce_new_defaults and neutron.conf: [oslo_policy]. '
'enforce_scope options are enabled in neutron conf.'),
cfg.BoolOpt('glance',
default=False,
help='Does the Image service API policies enforce scope? '
'This configuration value should be same as '
'glance.conf: [oslo_policy].enforce_scope option.'),
help='Does the Image service API policies enforce scope and '
'new defaults? This configuration value should be '
'enabled when glance.conf: [oslo_policy]. '
'enforce_new_defaults and glance.conf: [oslo_policy]. '
'enforce_scope options are enabled in glance conf.'),
cfg.BoolOpt('cinder',
default=False,
help='Does the Volume service API policies enforce scope? '
'This configuration value should be same as '
'cinder.conf: [oslo_policy].enforce_scope option.'),
help='Does the Volume service API policies enforce scope and '
'new defaults? This configuration value should be '
'enabled when cinder.conf: [oslo_policy]. '
'enforce_new_defaults and cinder.conf: [oslo_policy]. '
'enforce_scope options are enabled in cinder conf.'),
cfg.BoolOpt('keystone',
default=False,
help='Does the Identity service API policies enforce scope? '
'This configuration value should be same as '
'keystone.conf: [oslo_policy].enforce_scope option.'),
help='Does the Identity service API policies enforce scope '
'and new defaults? This configuration value should be '
'enabled when keystone.conf: [oslo_policy]. '
'enforce_new_defaults and keystone.conf: [oslo_policy]. '
'enforce_scope options are enabled in keystone conf.'),
]
debug_group = cfg.OptGroup(name="debug",