Add choices to backup_swift_auth
Looking at the sample configuration there is no way to tell what are the
valid options for the "backup_swift_auth" configuration option.
This patch adds to the parameter's definition the list of available
options so it's easier for admins to tell what values are supported.
TrivialFix
@@ -78,7 +78,8 @@ swiftbackup_service_opts = [
'Only used if backup_swift_auth_url is unset'),
cfg.StrOpt('backup_swift_auth',
default='per_user',
- help='Swift authentication mechanism'),
+ choices=['per_user', 'single_user'],
+ help='Swift authentication mechanism.'),
cfg.StrOpt('backup_swift_auth_version',
default='1',
help='Swift authentication version. Specify "1" for auth 1.0'
