Config options consistency of ephemeral_storage.py
Checked config options consistency in ephemeral_storage.py and removed all tags as it is already consistent with respect to wiki. https://wiki.openstack.org/wiki/ConfigOptionsConsistency Change-Id: Ic8ea9b0852d5b6f5d8a468fe0a03d21e220a8913 Blueprint centralize-config-options-ocata
This commit is contained in:
parent
d23fb5ff9f
commit
87426ef4be
|
@ -1,10 +1,3 @@
|
|||
# needs:fix_opt_description
|
||||
# needs:check_deprecation_status
|
||||
# needs:check_opt_group_and_type
|
||||
# needs:fix_opt_description_indentation
|
||||
# needs:fix_opt_registration_consistency
|
||||
|
||||
|
||||
# Copyright 2015 Huawei Technology corp.
|
||||
# Copyright 2015 OpenStack Foundation
|
||||
# All Rights Reserved.
|
||||
|
@ -29,44 +22,40 @@ ephemeral_storage_encryption_group = cfg.OptGroup(
|
|||
|
||||
ephemeral_storage_encryption_opts = [
|
||||
cfg.BoolOpt('enabled',
|
||||
default=False,
|
||||
help="""
|
||||
default=False,
|
||||
help="""
|
||||
Enables/disables LVM ephemeral storage encryption.
|
||||
"""),
|
||||
|
||||
cfg.StrOpt('cipher',
|
||||
default='aes-xts-plain64',
|
||||
help="""
|
||||
Cipher-mode string to be used
|
||||
default='aes-xts-plain64',
|
||||
help="""
|
||||
Cipher-mode string to be used.
|
||||
|
||||
The cipher and mode to be used to encrypt ephemeral
|
||||
storage. The set of cipher-mode combinations available
|
||||
depends on kernel support.
|
||||
The cipher and mode to be used to encrypt ephemeral storage. The set of
|
||||
cipher-mode combinations available depends on kernel support.
|
||||
|
||||
Possible values:
|
||||
|
||||
* aes-xts-plain64 (Default), see /proc/crypto for available options.
|
||||
* Any crypto option listed in ``/proc/crypto``.
|
||||
"""),
|
||||
|
||||
cfg.IntOpt('key_size',
|
||||
default=512,
|
||||
min=1,
|
||||
help="""
|
||||
Encryption key length in bits
|
||||
default=512,
|
||||
min=1,
|
||||
help="""
|
||||
Encryption key length in bits.
|
||||
|
||||
The bit length of the encryption key to be used to
|
||||
encrypt ephemeral storage (in XTS mode only half of
|
||||
the bits are used for encryption key).
|
||||
The bit length of the encryption key to be used to encrypt ephemeral storage.
|
||||
In XTS mode only half of the bits are used for encryption key.
|
||||
"""),
|
||||
|
||||
]
|
||||
|
||||
|
||||
def register_opts(conf):
|
||||
conf.register_group(ephemeral_storage_encryption_group)
|
||||
conf.register_opts(ephemeral_storage_encryption_opts,
|
||||
group='ephemeral_storage_encryption')
|
||||
group=ephemeral_storage_encryption_group)
|
||||
|
||||
|
||||
def list_opts():
|
||||
return {'ephemeral_storage_encryption': ephemeral_storage_encryption_opts}
|
||||
return {ephemeral_storage_encryption_group:
|
||||
ephemeral_storage_encryption_opts}
|
||||
|
|
Loading…
Reference in New Issue