Update help text for encryption provider

The volume encryption provider no longer uses class names.
Instead, 'luks' and 'plain' are used. This patch updates
the help text for the volume encryption provider to use
the new encryption provider format constants.

Change-Id: I2911098505a99658e04ac4008e5f3e857db81f95
This commit is contained in:
Brianna Poulos 2018-02-16 16:19:06 -05:00
parent 7505831e81
commit 4b9973b779
3 changed files with 12 additions and 12 deletions

View File

@ -62,8 +62,8 @@ Create new volume type
.. option:: --encryption-provider <provider> .. option:: --encryption-provider <provider>
Set the class that provides encryption support for this volume type Set the encryption provider format for this volume type
(e.g "LuksEncryptor") (admin only) (e.g "luks" or "plain") (admin only)
This option is required when setting encryption type of a volume. This option is required when setting encryption type of a volume.
Consider using other encryption options such as: :option:`--encryption-cipher`, Consider using other encryption options such as: :option:`--encryption-cipher`,
@ -197,8 +197,8 @@ Set volume type properties
.. option:: --encryption-provider <provider> .. option:: --encryption-provider <provider>
Set the class that provides encryption support for this volume type Set the encryption provider format for this volume type
(e.g "LuksEncryptor") (admin only) (e.g "luks" or "plain") (admin only)
This option is required when setting encryption type of a volume for the first time. This option is required when setting encryption type of a volume for the first time.
Consider using other encryption options such as: :option:`--encryption-cipher`, Consider using other encryption options such as: :option:`--encryption-cipher`,

View File

@ -70,8 +70,8 @@ class CreateVolumeType(command.ShowOne):
parser.add_argument( parser.add_argument(
'--encryption-provider', '--encryption-provider',
metavar='<provider>', metavar='<provider>',
help=_('Set the class that provides encryption support for ' help=_('Set the encryption provider format for '
'this volume type (e.g "LuksEncryptor") (admin only) ' 'this volume type (e.g "luks" or "plain") (admin only) '
'(This option is required when setting encryption type ' '(This option is required when setting encryption type '
'of a volume. Consider using other encryption options ' 'of a volume. Consider using other encryption options '
'such as: "--encryption-cipher", "--encryption-key-size" ' 'such as: "--encryption-cipher", "--encryption-key-size" '
@ -254,8 +254,8 @@ class SetVolumeType(command.Command):
parser.add_argument( parser.add_argument(
'--encryption-provider', '--encryption-provider',
metavar='<provider>', metavar='<provider>',
help=_('Set the class that provides encryption support for ' help=_('Set the encryption provider format for '
'this volume type (e.g "LuksEncryptor") (admin only) ' 'this volume type (e.g "luks" or "plain") (admin only) '
'(This option is required when setting encryption type ' '(This option is required when setting encryption type '
'of a volume. Consider using other encryption options ' 'of a volume. Consider using other encryption options '
'such as: "--encryption-cipher", "--encryption-key-size" ' 'such as: "--encryption-cipher", "--encryption-key-size" '

View File

@ -112,8 +112,8 @@ class CreateVolumeType(command.ShowOne):
parser.add_argument( parser.add_argument(
'--encryption-provider', '--encryption-provider',
metavar='<provider>', metavar='<provider>',
help=_('Set the class that provides encryption support for ' help=_('Set the encryption provider format for '
'this volume type (e.g "LuksEncryptor") (admin only) ' 'this volume type (e.g "luks" or "plain") (admin only) '
'(This option is required when setting encryption type ' '(This option is required when setting encryption type '
'of a volume. Consider using other encryption options ' 'of a volume. Consider using other encryption options '
'such as: "--encryption-cipher", "--encryption-key-size" ' 'such as: "--encryption-cipher", "--encryption-key-size" '
@ -371,8 +371,8 @@ class SetVolumeType(command.Command):
parser.add_argument( parser.add_argument(
'--encryption-provider', '--encryption-provider',
metavar='<provider>', metavar='<provider>',
help=_('Set the class that provides encryption support for ' help=_('Set the encryption provider format for '
'this volume type (e.g "LuksEncryptor") (admin only) ' 'this volume type (e.g "luks" or "plain") (admin only) '
'(This option is required when setting encryption type ' '(This option is required when setting encryption type '
'of a volume for the first time. Consider using other ' 'of a volume for the first time. Consider using other '
'encryption options such as: "--encryption-cipher", ' 'encryption options such as: "--encryption-cipher", '