Don't use default=None for config options

In the config module default=None is set as the default value,
so it isn't necessary to set it again when doing config options.

Change-Id: I09989ab679d249a9f7dea6af5d53c14dd1726e09
Closes-Bug: #1323975
This commit is contained in:
Nate Potter 2015-10-27 16:09:40 +00:00 committed by Sean McGinnis
parent cbb55074de
commit db8076be96
48 changed files with 4 additions and 136 deletions

View File

@ -35,7 +35,6 @@ api_common_opts = [
help='The maximum number of items that a collection ' help='The maximum number of items that a collection '
'resource returns in a single response'), 'resource returns in a single response'),
cfg.StrOpt('osapi_volume_base_URL', cfg.StrOpt('osapi_volume_base_URL',
default=None,
help='Base URL that will be presented to users in links ' help='Base URL that will be presented to users in links '
'to the OpenStack Volume API', 'to the OpenStack Volume API',
deprecated_name='osapi_compute_link_prefix'), deprecated_name='osapi_compute_link_prefix'),

View File

@ -20,7 +20,7 @@ from oslo_config import cfg
versions_opts = [ versions_opts = [
cfg.StrOpt('public_endpoint', default=None, cfg.StrOpt('public_endpoint',
help="Public url to use for versions endpoint. The default " help="Public url to use for versions endpoint. The default "
"is None, which will use the request's host_url " "is None, which will use the request's host_url "
"attribute to populate the URL base. If Cinder is " "attribute to populate the URL base. If Cinder is "

View File

@ -32,7 +32,6 @@ glusterfsbackup_service_opts = [
default='$state_path/backup_mount', default='$state_path/backup_mount',
help='Base dir containing mount point for gluster share.'), help='Base dir containing mount point for gluster share.'),
cfg.StrOpt('glusterfs_backup_share', cfg.StrOpt('glusterfs_backup_share',
default=None,
help='GlusterFS share in ' help='GlusterFS share in '
'<hostname|ipv4addr|ipv6addr>:<gluster_vol_name> format. ' '<hostname|ipv4addr|ipv6addr>:<gluster_vol_name> format. '
'Eg: 1.2.3.4:backup_vol'), 'Eg: 1.2.3.4:backup_vol'),

View File

@ -33,11 +33,9 @@ nfsbackup_service_opts = [
default='$state_path/backup_mount', default='$state_path/backup_mount',
help='Base dir containing mount point for NFS share.'), help='Base dir containing mount point for NFS share.'),
cfg.StrOpt('backup_share', cfg.StrOpt('backup_share',
default=None,
help='NFS share in hostname:path, ipv4addr:path, ' help='NFS share in hostname:path, ipv4addr:path, '
'or "[ipv6addr]:path" format.'), 'or "[ipv6addr]:path" format.'),
cfg.StrOpt('backup_mount_options', cfg.StrOpt('backup_mount_options',
default=None,
help=('Mount options passed to the NFS client. See NFS ' help=('Mount options passed to the NFS client. See NFS '
'man page for details.')), 'man page for details.')),
] ]

View File

@ -61,10 +61,8 @@ LOG = logging.getLogger(__name__)
swiftbackup_service_opts = [ swiftbackup_service_opts = [
cfg.StrOpt('backup_swift_url', cfg.StrOpt('backup_swift_url',
default=None,
help='The URL of the Swift endpoint'), help='The URL of the Swift endpoint'),
cfg.StrOpt('backup_swift_auth_url', cfg.StrOpt('backup_swift_auth_url',
default=None,
help='The URL of the Keystone endpoint'), help='The URL of the Keystone endpoint'),
cfg.StrOpt('swift_catalog_info', cfg.StrOpt('swift_catalog_info',
default='object-store:swift:publicURL', default='object-store:swift:publicURL',
@ -86,14 +84,11 @@ swiftbackup_service_opts = [
help='Swift authentication version. Specify "1" for auth 1.0' help='Swift authentication version. Specify "1" for auth 1.0'
', or "2" for auth 2.0'), ', or "2" for auth 2.0'),
cfg.StrOpt('backup_swift_tenant', cfg.StrOpt('backup_swift_tenant',
default=None,
help='Swift tenant/account name. Required when connecting' help='Swift tenant/account name. Required when connecting'
' to an auth 2.0 system'), ' to an auth 2.0 system'),
cfg.StrOpt('backup_swift_user', cfg.StrOpt('backup_swift_user',
default=None,
help='Swift user name'), help='Swift user name'),
cfg.StrOpt('backup_swift_key', cfg.StrOpt('backup_swift_key',
default=None,
help='Swift key for authentication'), help='Swift key for authentication'),
cfg.StrOpt('backup_swift_container', cfg.StrOpt('backup_swift_container',
default='volumebackups', default='volumebackups',
@ -119,7 +114,6 @@ swiftbackup_service_opts = [
'up the volume to the Swift backend storage. The ' 'up the volume to the Swift backend storage. The '
'default value is True to enable the timer.'), 'default value is True to enable the timer.'),
cfg.StrOpt('backup_swift_ca_cert_file', cfg.StrOpt('backup_swift_ca_cert_file',
default=None,
help='Location of the CA certificate file to use for swift ' help='Location of the CA certificate file to use for swift '
'client requests.'), 'client requests.'),
cfg.BoolOpt('backup_swift_auth_insecure', cfg.BoolOpt('backup_swift_auth_insecure',

View File

@ -55,12 +55,10 @@ import cinder.volume.utils
CONF = cfg.CONF CONF = cfg.CONF
script_opts = [ script_opts = [
cfg.StrOpt('start_time', cfg.StrOpt('start_time',
default=None,
help="If this option is specified then the start time " help="If this option is specified then the start time "
"specified is used instead of the start time of the " "specified is used instead of the start time of the "
"last completed audit period."), "last completed audit period."),
cfg.StrOpt('end_time', cfg.StrOpt('end_time',
default=None,
help="If this option is specified then the end time " help="If this option is specified then the end time "
"specified is used instead of the end time of the " "specified is used instead of the end time of the "
"last completed audit period."), "last completed audit period."),

View File

@ -88,7 +88,6 @@ global_opts = [
help='Location of ca certificates file to use for glance ' help='Location of ca certificates file to use for glance '
'client requests.'), 'client requests.'),
cfg.IntOpt('glance_request_timeout', cfg.IntOpt('glance_request_timeout',
default=None,
help='http/https timeout value for glance operations. If no ' help='http/https timeout value for glance operations. If no '
'value (None) is supplied here, the glanceclient default ' 'value (None) is supplied here, the glanceclient default '
'value is used.'), 'value is used.'),
@ -136,7 +135,6 @@ global_opts = [
default='nova', default='nova',
help='Availability zone of this node'), help='Availability zone of this node'),
cfg.StrOpt('default_availability_zone', cfg.StrOpt('default_availability_zone',
default=None,
help='Default availability zone for new volumes. If not set, ' help='Default availability zone for new volumes. If not set, '
'the storage_availability_zone option value is used as ' 'the storage_availability_zone option value is used as '
'the default for new volumes.'), 'the default for new volumes.'),
@ -147,7 +145,6 @@ global_opts = [
'default_availability_zone, then ' 'default_availability_zone, then '
'storage_availability_zone, instead of failing.'), 'storage_availability_zone, instead of failing.'),
cfg.StrOpt('default_volume_type', cfg.StrOpt('default_volume_type',
default=None,
help='Default volume type to use'), help='Default volume type to use'),
cfg.StrOpt('volume_usage_audit_period', cfg.StrOpt('volume_usage_audit_period',
default='month', default='month',
@ -178,7 +175,6 @@ global_opts = [
choices=['noauth', 'keystone'], choices=['noauth', 'keystone'],
help='The strategy to use for auth. Supports noauth or keystone.'), help='The strategy to use for auth. Supports noauth or keystone.'),
cfg.ListOpt('enabled_backends', cfg.ListOpt('enabled_backends',
default=None,
help='A list of backend names to use. These backend names ' help='A list of backend names to use. These backend names '
'should be backed by a unique [CONFIG] group ' 'should be backed by a unique [CONFIG] group '
'with its options'), 'with its options'),
@ -195,21 +191,17 @@ global_opts = [
default='cinder.consistencygroup.api.API', default='cinder.consistencygroup.api.API',
help='The full class name of the consistencygroup API class'), help='The full class name of the consistencygroup API class'),
cfg.StrOpt('os_privileged_user_name', cfg.StrOpt('os_privileged_user_name',
default=None,
help='OpenStack privileged account username. Used for requests ' help='OpenStack privileged account username. Used for requests '
'to other services (such as Nova) that require an account ' 'to other services (such as Nova) that require an account '
'with special rights.'), 'with special rights.'),
cfg.StrOpt('os_privileged_user_password', cfg.StrOpt('os_privileged_user_password',
default=None,
help='Password associated with the OpenStack privileged ' help='Password associated with the OpenStack privileged '
'account.', 'account.',
secret=True), secret=True),
cfg.StrOpt('os_privileged_user_tenant', cfg.StrOpt('os_privileged_user_tenant',
default=None,
help='Tenant name associated with the OpenStack privileged ' help='Tenant name associated with the OpenStack privileged '
'account.'), 'account.'),
cfg.StrOpt('os_privileged_user_auth_url', cfg.StrOpt('os_privileged_user_auth_url',
default=None,
help='Auth URL associated with the OpenStack privileged ' help='Auth URL associated with the OpenStack privileged '
'account.'), 'account.'),
] ]

View File

@ -39,17 +39,13 @@ nova_opts = [
default='compute:Compute Service:adminURL', default='compute:Compute Service:adminURL',
help='Same as nova_catalog_info, but for admin endpoint.'), help='Same as nova_catalog_info, but for admin endpoint.'),
cfg.StrOpt('nova_endpoint_template', cfg.StrOpt('nova_endpoint_template',
default=None,
help='Override service catalog lookup with template for nova ' help='Override service catalog lookup with template for nova '
'endpoint e.g. http://localhost:8774/v2/%(project_id)s'), 'endpoint e.g. http://localhost:8774/v2/%(project_id)s'),
cfg.StrOpt('nova_endpoint_admin_template', cfg.StrOpt('nova_endpoint_admin_template',
default=None,
help='Same as nova_endpoint_template, but for admin endpoint.'), help='Same as nova_endpoint_template, but for admin endpoint.'),
cfg.StrOpt('os_region_name', cfg.StrOpt('os_region_name',
default=None,
help='Region name of this node'), help='Region name of this node'),
cfg.StrOpt('nova_ca_certificates_file', cfg.StrOpt('nova_ca_certificates_file',
default=None,
help='Location of ca certificates file to use for nova client ' help='Location of ca certificates file to use for nova client '
'requests.'), 'requests.'),
cfg.BoolOpt('nova_api_insecure', cfg.BoolOpt('nova_api_insecure',

View File

@ -30,11 +30,9 @@ from cinder import policy
context_opts = [ context_opts = [
cfg.StrOpt('cinder_internal_tenant_project_id', cfg.StrOpt('cinder_internal_tenant_project_id',
default=None,
help='ID of the project which will be used as the Cinder ' help='ID of the project which will be used as the Cinder '
'internal tenant.'), 'internal tenant.'),
cfg.StrOpt('cinder_internal_tenant_user_id', cfg.StrOpt('cinder_internal_tenant_user_id',
default=None,
help='ID of the user to be used in volume operations as the ' help='ID of the user to be used in volume operations as the '
'Cinder internal tenant.'), 'Cinder internal tenant.'),
] ]

View File

@ -40,7 +40,6 @@ test_service_opts = [
default="cinder.tests.unit.test_service.FakeManager", default="cinder.tests.unit.test_service.FakeManager",
help="Manager for testing"), help="Manager for testing"),
cfg.StrOpt("test_service_listen", cfg.StrOpt("test_service_listen",
default=None,
help="Host to bind test service to"), help="Host to bind test service to"),
cfg.IntOpt("test_service_listen_port", cfg.IntOpt("test_service_listen_port",
default=0, default=0,

View File

@ -29,7 +29,7 @@ class ScaleIODriver(scaleio.ScaleIODriver):
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
configuration = conf.Configuration( configuration = conf.Configuration(
[ [
cfg.StrOpt('fake', default=None), cfg.StrOpt('fake'),
], ],
None None
) )

View File

@ -67,7 +67,6 @@ volume_opts = [
help='The maximum number of times to rescan targets' help='The maximum number of times to rescan targets'
' to find volume'), ' to find volume'),
cfg.StrOpt('volume_backend_name', cfg.StrOpt('volume_backend_name',
default=None,
help='The backend name for a given driver implementation'), help='The backend name for a given driver implementation'),
cfg.BoolOpt('use_multipath_for_image_xfer', cfg.BoolOpt('use_multipath_for_image_xfer',
default=False, default=False,
@ -86,7 +85,6 @@ volume_opts = [
default=0, default=0,
help='Size in MiB to wipe at start of old volumes. 0 => all'), help='Size in MiB to wipe at start of old volumes. 0 => all'),
cfg.StrOpt('volume_clear_ionice', cfg.StrOpt('volume_clear_ionice',
default=None,
help='The flag to pass to ionice to alter the i/o priority ' help='The flag to pass to ionice to alter the i/o priority '
'of the process used to zero a volume after deletion, ' 'of the process used to zero a volume after deletion, '
'for example "-c3" for idle only priority.'), 'for example "-c3" for idle only priority.'),
@ -150,11 +148,9 @@ volume_opts = [
'with the value "iser". The supported iSCSI protocol ' 'with the value "iser". The supported iSCSI protocol '
'values are "iscsi" and "iser".'), 'values are "iscsi" and "iser".'),
cfg.StrOpt('driver_client_cert_key', cfg.StrOpt('driver_client_cert_key',
default=None,
help='The path to the client certificate key for verification, ' help='The path to the client certificate key for verification, '
'if the driver supports it.'), 'if the driver supports it.'),
cfg.StrOpt('driver_client_cert', cfg.StrOpt('driver_client_cert',
default=None,
help='The path to the client certificate for verification, ' help='The path to the client certificate for verification, '
'if the driver supports it.'), 'if the driver supports it.'),
cfg.BoolOpt('driver_use_ssl', cfg.BoolOpt('driver_use_ssl',
@ -173,7 +169,6 @@ volume_opts = [
'capacity. A ratio lower than 1.0 will be ignored and ' 'capacity. A ratio lower than 1.0 will be ignored and '
'the default value will be used instead.'), 'the default value will be used instead.'),
cfg.StrOpt('scst_target_iqn_name', cfg.StrOpt('scst_target_iqn_name',
default=None,
help='Certain ISCSI targets have predefined target names, ' help='Certain ISCSI targets have predefined target names, '
'SCST target driver uses this name.'), 'SCST target driver uses this name.'),
cfg.StrOpt('scst_target_driver', cfg.StrOpt('scst_target_driver',
@ -195,16 +190,13 @@ volume_opts = [
deprecated_opts=deprecated_chap_password_opts, deprecated_opts=deprecated_chap_password_opts,
secret=True), secret=True),
cfg.StrOpt('driver_data_namespace', cfg.StrOpt('driver_data_namespace',
default=None,
help='Namespace for driver private data values to be ' help='Namespace for driver private data values to be '
'saved in.'), 'saved in.'),
cfg.StrOpt('filter_function', cfg.StrOpt('filter_function',
default=None,
help='String representation for an equation that will be ' help='String representation for an equation that will be '
'used to filter hosts. Only used when the driver ' 'used to filter hosts. Only used when the driver '
'filter is set to be used by the Cinder scheduler.'), 'filter is set to be used by the Cinder scheduler.'),
cfg.StrOpt('goodness_function', cfg.StrOpt('goodness_function',
default=None,
help='String representation for an equation that will be ' help='String representation for an equation that will be '
'used to determine the goodness of a host. Only used ' 'used to determine the goodness of a host. Only used '
'when using the goodness weigher is set to be used by ' 'when using the goodness weigher is set to be used by '
@ -214,13 +206,11 @@ volume_opts = [
help='If set to True the http client will validate the SSL ' help='If set to True the http client will validate the SSL '
'certificate of the backend endpoint.'), 'certificate of the backend endpoint.'),
cfg.ListOpt('trace_flags', cfg.ListOpt('trace_flags',
default=None,
help='List of options that control which trace info ' help='List of options that control which trace info '
'is written to the DEBUG log level to assist ' 'is written to the DEBUG log level to assist '
'developers. Valid values are method and api.'), 'developers. Valid values are method and api.'),
cfg.MultiOpt('replication_device', cfg.MultiOpt('replication_device',
item_type=types.Dict(), item_type=types.Dict(),
default=None,
help="Multi opt of dictionaries to represent a replication " help="Multi opt of dictionaries to represent a replication "
"target device. This option may be specified multiple " "target device. This option may be specified multiple "
"times in a single config section to specify multiple " "times in a single config section to specify multiple "

View File

@ -36,10 +36,8 @@ LOG = logging.getLogger(__name__)
blockbridge_opts = [ blockbridge_opts = [
cfg.StrOpt("blockbridge_api_host", cfg.StrOpt("blockbridge_api_host",
default=None,
help=_("IP address/hostname of Blockbridge API.")), help=_("IP address/hostname of Blockbridge API.")),
cfg.IntOpt("blockbridge_api_port", cfg.IntOpt("blockbridge_api_port",
default=None,
help=_("Override HTTPS port to connect to Blockbridge " help=_("Override HTTPS port to connect to Blockbridge "
"API server.")), "API server.")),
cfg.StrOpt("blockbridge_auth_scheme", cfg.StrOpt("blockbridge_auth_scheme",
@ -48,14 +46,11 @@ blockbridge_opts = [
help=_("Blockbridge API authentication scheme (token " help=_("Blockbridge API authentication scheme (token "
"or password)")), "or password)")),
cfg.StrOpt("blockbridge_auth_token", cfg.StrOpt("blockbridge_auth_token",
default=None,
help=_("Blockbridge API token (for auth scheme 'token')"), help=_("Blockbridge API token (for auth scheme 'token')"),
secret=True), secret=True),
cfg.StrOpt("blockbridge_auth_user", cfg.StrOpt("blockbridge_auth_user",
default=None,
help=_("Blockbridge API user (for auth scheme 'password')")), help=_("Blockbridge API user (for auth scheme 'password')")),
cfg.StrOpt("blockbridge_auth_password", cfg.StrOpt("blockbridge_auth_password",
default=None,
help=_("Blockbridge API password (for auth scheme 'password')"), help=_("Blockbridge API password (for auth scheme 'password')"),
secret=True), secret=True),
cfg.DictOpt("blockbridge_pools", cfg.DictOpt("blockbridge_pools",
@ -63,7 +58,6 @@ blockbridge_opts = [
help=_("Defines the set of exposed pools and their associated " help=_("Defines the set of exposed pools and their associated "
"backend query strings")), "backend query strings")),
cfg.StrOpt("blockbridge_default_pool", cfg.StrOpt("blockbridge_default_pool",
default=None,
help=_("Default pool name if unspecified.")), help=_("Default pool name if unspecified.")),
] ]

View File

@ -17,15 +17,12 @@ from oslo_config import cfg
cloudbyte_connection_opts = [ cloudbyte_connection_opts = [
cfg.StrOpt("cb_apikey", cfg.StrOpt("cb_apikey",
default=None,
help="Driver will use this API key to authenticate " help="Driver will use this API key to authenticate "
"against the CloudByte storage's management interface."), "against the CloudByte storage's management interface."),
cfg.StrOpt("cb_account_name", cfg.StrOpt("cb_account_name",
default=None,
help="CloudByte storage specific account name. " help="CloudByte storage specific account name. "
"This maps to a project name in OpenStack."), "This maps to a project name in OpenStack."),
cfg.StrOpt("cb_tsm_name", cfg.StrOpt("cb_tsm_name",
default=None,
help="This corresponds to the name of " help="This corresponds to the name of "
"Tenant Storage Machine (TSM) in CloudByte storage. " "Tenant Storage Machine (TSM) in CloudByte storage. "
"A volume will be created in this TSM."), "A volume will be created in this TSM."),
@ -50,7 +47,6 @@ cloudbyte_connection_opts = [
"deletion in CloudByte storage by making " "deletion in CloudByte storage by making "
"this many number of attempts."), "this many number of attempts."),
cfg.StrOpt("cb_auth_group", cfg.StrOpt("cb_auth_group",
default="None",
help="This corresponds to the discovery authentication " help="This corresponds to the discovery authentication "
"group in CloudByte storage. " "group in CloudByte storage. "
"Chap users are added to this group. " "Chap users are added to this group. "

View File

@ -35,7 +35,6 @@ LOG = logging.getLogger(__name__)
d_opts = [ d_opts = [
cfg.StrOpt('datera_api_token', cfg.StrOpt('datera_api_token',
default=None,
help='DEPRECATED: This will be removed in the Liberty release. ' help='DEPRECATED: This will be removed in the Liberty release. '
'Use san_login and san_password instead. This directly ' 'Use san_login and san_password instead. This directly '
'sets the Datera API token.'), 'sets the Datera API token.'),

View File

@ -46,7 +46,6 @@ common_opts = [
default=False, default=False,
help="Whether to verify DotHill array SSL certificate."), help="Whether to verify DotHill array SSL certificate."),
cfg.StrOpt('dothill_verify_certificate_path', cfg.StrOpt('dothill_verify_certificate_path',
default=None,
help="DotHill array SSL certificate path."), help="DotHill array SSL certificate path."),
] ]

View File

@ -65,18 +65,15 @@ loc_opts = [
default='global', default='global',
help='VNX authentication scope type.'), help='VNX authentication scope type.'),
cfg.StrOpt('storage_vnx_security_file_dir', cfg.StrOpt('storage_vnx_security_file_dir',
default=None,
help='Directory path that contains the VNX security file. ' help='Directory path that contains the VNX security file. '
'Make sure the security file is generated first.'), 'Make sure the security file is generated first.'),
cfg.StrOpt('naviseccli_path', cfg.StrOpt('naviseccli_path',
default='', default='',
help='Naviseccli Path.'), help='Naviseccli Path.'),
cfg.StrOpt('storage_vnx_pool_names', cfg.StrOpt('storage_vnx_pool_names',
default=None,
deprecated_name='storage_vnx_pool_name', deprecated_name='storage_vnx_pool_name',
help='Comma-separated list of storage pool names to be used.'), help='Comma-separated list of storage pool names to be used.'),
cfg.StrOpt('san_secondary_ip', cfg.StrOpt('san_secondary_ip',
default=None,
help='VNX secondary SP IP Address.'), help='VNX secondary SP IP Address.'),
cfg.IntOpt('default_timeout', cfg.IntOpt('default_timeout',
default=60 * 24 * 365, default=60 * 24 * 365,

View File

@ -49,7 +49,6 @@ scaleio_opts = [
default=False, default=False,
help='Whether to verify server certificate.'), help='Whether to verify server certificate.'),
cfg.StrOpt('sio_server_certificate_path', cfg.StrOpt('sio_server_certificate_path',
default=None,
help='Server certificate path.'), help='Server certificate path.'),
cfg.BoolOpt('sio_round_volume_capacity', cfg.BoolOpt('sio_round_volume_capacity',
default=True, default=True,
@ -61,19 +60,14 @@ scaleio_opts = [
default=False, default=False,
help='Whether to unmap volume before deletion.'), help='Whether to unmap volume before deletion.'),
cfg.StrOpt('sio_protection_domain_id', cfg.StrOpt('sio_protection_domain_id',
default=None,
help='Protection domain id.'), help='Protection domain id.'),
cfg.StrOpt('sio_protection_domain_name', cfg.StrOpt('sio_protection_domain_name',
default=None,
help='Protection domain name.'), help='Protection domain name.'),
cfg.StrOpt('sio_storage_pools', cfg.StrOpt('sio_storage_pools',
default=None,
help='Storage pools.'), help='Storage pools.'),
cfg.StrOpt('sio_storage_pool_name', cfg.StrOpt('sio_storage_pool_name',
default=None,
help='Storage pool name.'), help='Storage pool name.'),
cfg.StrOpt('sio_storage_pool_id', cfg.StrOpt('sio_storage_pool_id',
default=None,
help='Storage pool id.') help='Storage pool id.')
] ]

View File

@ -58,19 +58,14 @@ LOG = logging.getLogger(__name__)
volume_opts = [ volume_opts = [
cfg.StrOpt('hitachi_serial_number', cfg.StrOpt('hitachi_serial_number',
default=None,
help='Serial number of storage system'), help='Serial number of storage system'),
cfg.StrOpt('hitachi_unit_name', cfg.StrOpt('hitachi_unit_name',
default=None,
help='Name of an array unit'), help='Name of an array unit'),
cfg.IntOpt('hitachi_pool_id', cfg.IntOpt('hitachi_pool_id',
default=None,
help='Pool ID of storage system'), help='Pool ID of storage system'),
cfg.IntOpt('hitachi_thin_pool_id', cfg.IntOpt('hitachi_thin_pool_id',
default=None,
help='Thin pool ID of storage system'), help='Thin pool ID of storage system'),
cfg.StrOpt('hitachi_ldev_range', cfg.StrOpt('hitachi_ldev_range',
default=None,
help='Range of logical device of storage system'), help='Range of logical device of storage system'),
cfg.StrOpt('hitachi_default_copy_method', cfg.StrOpt('hitachi_default_copy_method',
default='FULL', default='FULL',
@ -85,10 +80,8 @@ volume_opts = [
default=10, default=10,
help='Interval to check copy asynchronously'), help='Interval to check copy asynchronously'),
cfg.StrOpt('hitachi_target_ports', cfg.StrOpt('hitachi_target_ports',
default=None,
help='Control port names for HostGroup or iSCSI Target'), help='Control port names for HostGroup or iSCSI Target'),
cfg.StrOpt('hitachi_group_range', cfg.StrOpt('hitachi_group_range',
default=None,
help='Range of group number'), help='Range of group number'),
cfg.BoolOpt('hitachi_group_request', cfg.BoolOpt('hitachi_group_request',
default=False, default=False,

View File

@ -104,10 +104,8 @@ volume_opts = [
default='200,201', default='200,201',
help='Instance numbers for HORCM'), help='Instance numbers for HORCM'),
cfg.StrOpt('hitachi_horcm_user', cfg.StrOpt('hitachi_horcm_user',
default=None,
help='Username of storage system for HORCM'), help='Username of storage system for HORCM'),
cfg.StrOpt('hitachi_horcm_password', cfg.StrOpt('hitachi_horcm_password',
default=None,
help='Password of storage system for HORCM', help='Password of storage system for HORCM',
secret=True), secret=True),
cfg.BoolOpt('hitachi_horcm_add_conf', cfg.BoolOpt('hitachi_horcm_add_conf',

View File

@ -39,7 +39,6 @@ volume_opts = [
default=False, default=False,
help='Add CHAP user'), help='Add CHAP user'),
cfg.StrOpt('hitachi_auth_method', cfg.StrOpt('hitachi_auth_method',
default=None,
help='iSCSI authentication method'), help='iSCSI authentication method'),
cfg.StrOpt('hitachi_auth_user', cfg.StrOpt('hitachi_auth_user',
default='%sCHAP-user' % basic_lib.NAME_PREFIX, default='%sCHAP-user' % basic_lib.NAME_PREFIX,

View File

@ -43,7 +43,6 @@ huawei_opts = [
default='/etc/cinder/cinder_huawei_conf.xml', default='/etc/cinder/cinder_huawei_conf.xml',
help='The configuration file for the Cinder Huawei driver.'), help='The configuration file for the Cinder Huawei driver.'),
cfg.StrOpt('hypermetro_devices', cfg.StrOpt('hypermetro_devices',
default=None,
help='The remote device hypermetro will use.'), help='The remote device hypermetro will use.'),
] ]

View File

@ -46,15 +46,12 @@ LOG = logging.getLogger(__name__)
gpfs_opts = [ gpfs_opts = [
cfg.StrOpt('gpfs_mount_point_base', cfg.StrOpt('gpfs_mount_point_base',
default=None,
help='Specifies the path of the GPFS directory where Block ' help='Specifies the path of the GPFS directory where Block '
'Storage volume and snapshot files are stored.'), 'Storage volume and snapshot files are stored.'),
cfg.StrOpt('gpfs_images_dir', cfg.StrOpt('gpfs_images_dir',
default=None,
help='Specifies the path of the Image service repository in ' help='Specifies the path of the Image service repository in '
'GPFS. Leave undefined if not storing images in GPFS.'), 'GPFS. Leave undefined if not storing images in GPFS.'),
cfg.StrOpt('gpfs_images_share_mode', cfg.StrOpt('gpfs_images_share_mode',
default=None,
choices=['copy', 'copy_on_write', None], choices=['copy', 'copy_on_write', None],
help='Specifies the type of image copy to be used. Set this ' help='Specifies the type of image copy to be used. Set this '
'when the Image service repository also uses GPFS so ' 'when the Image service repository also uses GPFS so '

View File

@ -122,7 +122,6 @@ storwize_svc_opts = [
default=False, default=False,
help='Allow tenants to specify QOS on create'), help='Allow tenants to specify QOS on create'),
cfg.StrOpt('storwize_svc_stretched_cluster_partner', cfg.StrOpt('storwize_svc_stretched_cluster_partner',
default=None,
help='If operating in stretched cluster mode, specify the ' help='If operating in stretched cluster mode, specify the '
'name of the pool in which mirrored copies are stored.' 'name of the pool in which mirrored copies are stored.'
'Example: "pool2"'), 'Example: "pool2"'),

View File

@ -35,7 +35,6 @@ common_opts = [
default=False, default=False,
help="Whether to verify Lenovo array SSL certificate."), help="Whether to verify Lenovo array SSL certificate."),
cfg.StrOpt('lenovo_verify_certificate_path', cfg.StrOpt('lenovo_verify_certificate_path',
default=None,
help="Lenovo array SSL certificate path.") help="Lenovo array SSL certificate path.")
] ]

View File

@ -43,11 +43,9 @@ netapp_proxy_opts = [
netapp_connection_opts = [ netapp_connection_opts = [
cfg.StrOpt('netapp_server_hostname', cfg.StrOpt('netapp_server_hostname',
default=None,
help='The hostname (or IP address) for the storage system or ' help='The hostname (or IP address) for the storage system or '
'proxy server.'), 'proxy server.'),
cfg.IntOpt('netapp_server_port', cfg.IntOpt('netapp_server_port',
default=None,
help=('The TCP port to use for communication with the storage ' help=('The TCP port to use for communication with the storage '
'system or proxy server. If not specified, Data ONTAP ' 'system or proxy server. If not specified, Data ONTAP '
'drivers will use 80 for HTTP and 443 for HTTPS; ' 'drivers will use 80 for HTTP and 443 for HTTPS; '
@ -62,11 +60,9 @@ netapp_transport_opts = [
netapp_basicauth_opts = [ netapp_basicauth_opts = [
cfg.StrOpt('netapp_login', cfg.StrOpt('netapp_login',
default=None,
help=('Administrative user account name used to access the ' help=('Administrative user account name used to access the '
'storage system or proxy server.')), 'storage system or proxy server.')),
cfg.StrOpt('netapp_password', cfg.StrOpt('netapp_password',
default=None,
help=('Password for the administrative user account ' help=('Password for the administrative user account '
'specified in the netapp_login option.'), 'specified in the netapp_login option.'),
secret=True), ] secret=True), ]
@ -90,14 +86,12 @@ netapp_provisioning_opts = [
netapp_cluster_opts = [ netapp_cluster_opts = [
cfg.StrOpt('netapp_vserver', cfg.StrOpt('netapp_vserver',
default=None,
help=('This option specifies the virtual storage server ' help=('This option specifies the virtual storage server '
'(Vserver) name on the storage cluster on which ' '(Vserver) name on the storage cluster on which '
'provisioning of block storage volumes should occur.')), ] 'provisioning of block storage volumes should occur.')), ]
netapp_7mode_opts = [ netapp_7mode_opts = [
cfg.StrOpt('netapp_vfiler', cfg.StrOpt('netapp_vfiler',
default=None,
help=('The vFiler unit on which provisioning of block storage ' help=('The vFiler unit on which provisioning of block storage '
'volumes will be done. This option is only used by the ' 'volumes will be done. This option is only used by the '
'driver when connecting to an instance with a storage ' 'driver when connecting to an instance with a storage '
@ -105,7 +99,6 @@ netapp_7mode_opts = [
'option when utilizing the MultiStore feature on the ' 'option when utilizing the MultiStore feature on the '
'NetApp storage system.')), 'NetApp storage system.')),
cfg.StrOpt('netapp_partner_backend_name', cfg.StrOpt('netapp_partner_backend_name',
default=None,
help=('The name of the config.conf stanza for a Data ONTAP ' help=('The name of the config.conf stanza for a Data ONTAP '
'(7-mode) HA partner. This option is only used by the ' '(7-mode) HA partner. This option is only used by the '
'driver when connecting to an instance with a storage ' 'driver when connecting to an instance with a storage '
@ -145,7 +138,6 @@ netapp_eseries_opts = [
'to create the URL used by the driver to connect to the ' 'to create the URL used by the driver to connect to the '
'proxy application.')), 'proxy application.')),
cfg.StrOpt('netapp_controller_ips', cfg.StrOpt('netapp_controller_ips',
default=None,
help=('This option is only utilized when the storage family ' help=('This option is only utilized when the storage family '
'is configured to eseries. This option is used to ' 'is configured to eseries. This option is used to '
'restrict provisioning to the specified controllers. ' 'restrict provisioning to the specified controllers. '
@ -153,7 +145,6 @@ netapp_eseries_opts = [
'separated list of controller hostnames or IP addresses ' 'separated list of controller hostnames or IP addresses '
'to be used for provisioning.')), 'to be used for provisioning.')),
cfg.StrOpt('netapp_sa_password', cfg.StrOpt('netapp_sa_password',
default=None,
help=('Password for the NetApp E-Series storage array.'), help=('Password for the NetApp E-Series storage array.'),
secret=True), secret=True),
cfg.BoolOpt('netapp_enable_multiattach', cfg.BoolOpt('netapp_enable_multiattach',
@ -168,20 +159,17 @@ netapp_eseries_opts = [
] ]
netapp_nfs_extra_opts = [ netapp_nfs_extra_opts = [
cfg.StrOpt('netapp_copyoffload_tool_path', cfg.StrOpt('netapp_copyoffload_tool_path',
default=None,
help=('This option specifies the path of the NetApp copy ' help=('This option specifies the path of the NetApp copy '
'offload tool binary. Ensure that the binary has execute ' 'offload tool binary. Ensure that the binary has execute '
'permissions set which allow the effective user of the ' 'permissions set which allow the effective user of the '
'cinder-volume process to execute the file.')), ] 'cinder-volume process to execute the file.')), ]
netapp_san_opts = [ netapp_san_opts = [
cfg.StrOpt('netapp_lun_ostype', cfg.StrOpt('netapp_lun_ostype',
default=None,
help=('This option defines the type of operating system that' help=('This option defines the type of operating system that'
' will access a LUN exported from Data ONTAP; it is' ' will access a LUN exported from Data ONTAP; it is'
' assigned to the LUN at the time it is created.')), ' assigned to the LUN at the time it is created.')),
cfg.StrOpt('netapp_host_type', cfg.StrOpt('netapp_host_type',
deprecated_name='netapp_eseries_host_type', deprecated_name='netapp_eseries_host_type',
default=None,
help=('This option defines the type of operating system for' help=('This option defines the type of operating system for'
' all initiators that can access a LUN. This information' ' all initiators that can access a LUN. This information'
' is used when mapping LUNs to individual hosts or' ' is used when mapping LUNs to individual hosts or'

View File

@ -69,7 +69,6 @@ nfs_opts = [
default='$state_path/mnt', default='$state_path/mnt',
help=('Base dir containing mount points for nfs shares.')), help=('Base dir containing mount points for nfs shares.')),
cfg.StrOpt('nfs_mount_options', cfg.StrOpt('nfs_mount_options',
default=None,
help=('Mount options passed to the nfs client. See section ' help=('Mount options passed to the nfs client. See section '
'of the nfs man page for details.')), 'of the nfs man page for details.')),
cfg.IntOpt('nfs_mount_attempts', cfg.IntOpt('nfs_mount_attempts',

View File

@ -46,7 +46,6 @@ LOG = logging.getLogger(__name__)
PURE_OPTS = [ PURE_OPTS = [
cfg.StrOpt("pure_api_token", cfg.StrOpt("pure_api_token",
default=None,
help="REST API authorization token."), help="REST API authorization token."),
] ]

View File

@ -35,11 +35,9 @@ LOG = logging.getLogger(__name__)
volume_opts = [ volume_opts = [
cfg.StrOpt('quobyte_volume_url', cfg.StrOpt('quobyte_volume_url',
default=None,
help=('URL to the Quobyte volume e.g.,' help=('URL to the Quobyte volume e.g.,'
' quobyte://<DIR host>/<volume name>')), ' quobyte://<DIR host>/<volume name>')),
cfg.StrOpt('quobyte_client_cfg', cfg.StrOpt('quobyte_client_cfg',
default=None,
help=('Path to a Quobyte Client configuration file.')), help=('Path to a Quobyte Client configuration file.')),
cfg.BoolOpt('quobyte_sparsed_volumes', cfg.BoolOpt('quobyte_sparsed_volumes',
default=True, default=True,

View File

@ -51,7 +51,6 @@ rbd_opts = [
default='rbd', default='rbd',
help='The RADOS pool where rbd volumes are stored'), help='The RADOS pool where rbd volumes are stored'),
cfg.StrOpt('rbd_user', cfg.StrOpt('rbd_user',
default=None,
help='The RADOS client name for accessing rbd volumes ' help='The RADOS client name for accessing rbd volumes '
'- only set when using cephx authentication'), '- only set when using cephx authentication'),
cfg.StrOpt('rbd_ceph_conf', cfg.StrOpt('rbd_ceph_conf',
@ -62,11 +61,9 @@ rbd_opts = [
help='Flatten volumes created from snapshots to remove ' help='Flatten volumes created from snapshots to remove '
'dependency from volume to snapshot'), 'dependency from volume to snapshot'),
cfg.StrOpt('rbd_secret_uuid', cfg.StrOpt('rbd_secret_uuid',
default=None,
help='The libvirt uuid of the secret for the rbd_user ' help='The libvirt uuid of the secret for the rbd_user '
'volumes'), 'volumes'),
cfg.StrOpt('volume_tmp_dir', cfg.StrOpt('volume_tmp_dir',
default=None,
help='Directory where temporary image files are stored ' help='Directory where temporary image files are stored '
'when the volume driver does not write them directly ' 'when the volume driver does not write them directly '
'to the volume. Warning: this option is now deprecated, ' 'to the volume. Warning: this option is now deprecated, '

View File

@ -81,7 +81,6 @@ nas_opts = [
'For example: "/srv/export1" for an NFS server export ' 'For example: "/srv/export1" for an NFS server export '
'available at 10.0.5.10:/srv/export1 .')), 'available at 10.0.5.10:/srv/export1 .')),
cfg.StrOpt('nas_mount_options', cfg.StrOpt('nas_mount_options',
default=None,
help=('Options used to mount the storage backend file system ' help=('Options used to mount the storage backend file system '
'where Cinder volumes are stored.')), 'where Cinder volumes are stored.')),
] ]

View File

@ -43,18 +43,14 @@ if hplefthandclient:
hplefthand_opts = [ hplefthand_opts = [
cfg.StrOpt('hplefthand_api_url', cfg.StrOpt('hplefthand_api_url',
default=None,
help="HP LeftHand WSAPI Server Url like " help="HP LeftHand WSAPI Server Url like "
"https://<LeftHand ip>:8081/lhos"), "https://<LeftHand ip>:8081/lhos"),
cfg.StrOpt('hplefthand_username', cfg.StrOpt('hplefthand_username',
default=None,
help="HP LeftHand Super user username"), help="HP LeftHand Super user username"),
cfg.StrOpt('hplefthand_password', cfg.StrOpt('hplefthand_password',
default=None,
help="HP LeftHand Super user password", help="HP LeftHand Super user password",
secret=True), secret=True),
cfg.StrOpt('hplefthand_clustername', cfg.StrOpt('hplefthand_clustername',
default=None,
help="HP LeftHand cluster name"), help="HP LeftHand cluster name"),
cfg.BoolOpt('hplefthand_iscsi_chap_enabled', cfg.BoolOpt('hplefthand_iscsi_chap_enabled',
default=False, default=False,

View File

@ -25,23 +25,18 @@ FC_VOLUME_OPTS = [
COMMON_VOLUME_OPTS = [ COMMON_VOLUME_OPTS = [
cfg.StrOpt( cfg.StrOpt(
'hpxp_storage_cli', 'hpxp_storage_cli',
default=None,
help='Type of storage command line interface'), help='Type of storage command line interface'),
cfg.StrOpt( cfg.StrOpt(
'hpxp_storage_id', 'hpxp_storage_id',
default=None,
help='ID of storage system'), help='ID of storage system'),
cfg.StrOpt( cfg.StrOpt(
'hpxp_pool', 'hpxp_pool',
default=None,
help='Pool of storage system'), help='Pool of storage system'),
cfg.StrOpt( cfg.StrOpt(
'hpxp_thin_pool', 'hpxp_thin_pool',
default=None,
help='Thin pool of storage system'), help='Thin pool of storage system'),
cfg.StrOpt( cfg.StrOpt(
'hpxp_ldev_range', 'hpxp_ldev_range',
default=None,
help='Logical device range of storage system'), help='Logical device range of storage system'),
cfg.StrOpt( cfg.StrOpt(
'hpxp_default_copy_method', 'hpxp_default_copy_method',
@ -63,11 +58,9 @@ COMMON_VOLUME_OPTS = [
help='Interval to check copy asynchronously'), help='Interval to check copy asynchronously'),
cfg.ListOpt( cfg.ListOpt(
'hpxp_target_ports', 'hpxp_target_ports',
default=None,
help='Target port names for host group or iSCSI target'), help='Target port names for host group or iSCSI target'),
cfg.ListOpt( cfg.ListOpt(
'hpxp_compute_target_ports', 'hpxp_compute_target_ports',
default=None,
help=( help=(
'Target port names of compute node ' 'Target port names of compute node '
'for host group or iSCSI target')), 'for host group or iSCSI target')),
@ -84,7 +77,6 @@ HORCM_VOLUME_OPTS = [
help='Instance numbers for HORCM'), help='Instance numbers for HORCM'),
cfg.StrOpt( cfg.StrOpt(
'hpxp_horcm_user', 'hpxp_horcm_user',
default=None,
help='Username of storage system for HORCM'), help='Username of storage system for HORCM'),
cfg.BoolOpt( cfg.BoolOpt(
'hpxp_horcm_add_conf', 'hpxp_horcm_add_conf',

View File

@ -35,7 +35,6 @@ common_opts = [
default=False, default=False,
help="Whether to verify HPMSA array SSL certificate."), help="Whether to verify HPMSA array SSL certificate."),
cfg.StrOpt('hpmsa_verify_certificate_path', cfg.StrOpt('hpmsa_verify_certificate_path',
default=None,
help="HPMSA array SSL certificate path."), help="HPMSA array SSL certificate path."),
] ]

View File

@ -40,7 +40,6 @@ LOG = logging.getLogger(__name__)
volume_opts = [ volume_opts = [
cfg.StrOpt('scality_sofs_config', cfg.StrOpt('scality_sofs_config',
default=None,
help='Path or URL to Scality SOFS configuration file'), help='Path or URL to Scality SOFS configuration file'),
cfg.StrOpt('scality_sofs_mount_point', cfg.StrOpt('scality_sofs_mount_point',
default='$state_path/scality', default='$state_path/scality',

View File

@ -50,7 +50,6 @@ sf_opts = [
help='Allow tenants to specify QOS on create'), help='Allow tenants to specify QOS on create'),
cfg.StrOpt('sf_account_prefix', cfg.StrOpt('sf_account_prefix',
default=None,
help='Create SolidFire accounts with this prefix. Any string ' help='Create SolidFire accounts with this prefix. Any string '
'can be used here, but the string \"hostname\" is special ' 'can be used here, but the string \"hostname\" is special '
'and will create a prefix using the cinder node hostname ' 'and will create a prefix using the cinder node hostname '
@ -74,7 +73,6 @@ sf_opts = [
'glance and qemu-conversion on subsequent calls.'), 'glance and qemu-conversion on subsequent calls.'),
cfg.StrOpt('sf_svip', cfg.StrOpt('sf_svip',
default=None,
help='Overrides default cluster SVIP with the one specified. ' help='Overrides default cluster SVIP with the one specified. '
'This is required or deployments that have implemented ' 'This is required or deployments that have implemented '
'the use of VLANs for iSCSI networks in their cloud.'), 'the use of VLANs for iSCSI networks in their cloud.'),

View File

@ -47,7 +47,6 @@ LOG = logging.getLogger(__name__)
srb_opts = [ srb_opts = [
cfg.StrOpt('srb_base_urls', cfg.StrOpt('srb_base_urls',
default=None,
help='Comma-separated list of REST servers IP to connect to. ' help='Comma-separated list of REST servers IP to connect to. '
'(eg http://IP1/,http://IP2:81/path'), '(eg http://IP1/,http://IP2:81/path'),
] ]

View File

@ -43,13 +43,10 @@ tintri_path = '/tintri/'
tintri_opts = [ tintri_opts = [
cfg.StrOpt('tintri_server_hostname', cfg.StrOpt('tintri_server_hostname',
default=None,
help='The hostname (or IP address) for the storage system'), help='The hostname (or IP address) for the storage system'),
cfg.StrOpt('tintri_server_username', cfg.StrOpt('tintri_server_username',
default=None,
help='User name for the storage system'), help='User name for the storage system'),
cfg.StrOpt('tintri_server_password', cfg.StrOpt('tintri_server_password',
default=None,
help='Password for the storage system', help='Password for the storage system',
secret=True), secret=True),
cfg.StrOpt('tintri_api_version', cfg.StrOpt('tintri_api_version',

View File

@ -52,10 +52,8 @@ VMOS_SUPPORTED_VERSION_PATTERNS = ['V6.3.0.[4-9]', 'V6.3.[1-9].?[0-9]?']
violin_opts = [ violin_opts = [
cfg.StrOpt('gateway_mga', cfg.StrOpt('gateway_mga',
default=None,
help='IP address or hostname of mg-a'), help='IP address or hostname of mg-a'),
cfg.StrOpt('gateway_mgb', cfg.StrOpt('gateway_mgb',
default=None,
help='IP address or hostname of mg-b'), help='IP address or hostname of mg-b'),
cfg.BoolOpt('use_igroups', cfg.BoolOpt('use_igroups',
default=False, default=False,

View File

@ -64,19 +64,15 @@ EXTRA_CONFIG_VOLUME_ID_KEY = "cinder.volume.id"
vmdk_opts = [ vmdk_opts = [
cfg.StrOpt('vmware_host_ip', cfg.StrOpt('vmware_host_ip',
default=None,
help='IP address for connecting to VMware vCenter server.'), help='IP address for connecting to VMware vCenter server.'),
cfg.StrOpt('vmware_host_username', cfg.StrOpt('vmware_host_username',
default=None,
help='Username for authenticating with VMware vCenter ' help='Username for authenticating with VMware vCenter '
'server.'), 'server.'),
cfg.StrOpt('vmware_host_password', cfg.StrOpt('vmware_host_password',
default=None,
help='Password for authenticating with VMware vCenter ' help='Password for authenticating with VMware vCenter '
'server.', 'server.',
secret=True), secret=True),
cfg.StrOpt('vmware_wsdl_location', cfg.StrOpt('vmware_wsdl_location',
default=None,
help='Optional VIM service WSDL Location ' help='Optional VIM service WSDL Location '
'e.g http://<server>/vimService.wsdl. Optional over-ride ' 'e.g http://<server>/vimService.wsdl. Optional over-ride '
'to default location for bug work-arounds.'), 'to default location for bug work-arounds.'),
@ -115,7 +111,6 @@ vmdk_opts = [
help='Directory where virtual disks are stored during volume ' help='Directory where virtual disks are stored during volume '
'backup and restore.'), 'backup and restore.'),
cfg.StrOpt('vmware_ca_file', cfg.StrOpt('vmware_ca_file',
default=None,
help='CA bundle file to use in verifying the vCenter server ' help='CA bundle file to use in verifying the vCenter server '
'certificate.'), 'certificate.'),
cfg.BoolOpt('vmware_insecure', cfg.BoolOpt('vmware_insecure',
@ -125,7 +120,6 @@ vmdk_opts = [
'used for verification. This option is ignored if ' 'used for verification. This option is ignored if '
'"vmware_ca_file" is set.'), '"vmware_ca_file" is set.'),
cfg.MultiStrOpt('vmware_cluster_name', cfg.MultiStrOpt('vmware_cluster_name',
default=None,
help='Name of a vCenter compute cluster where volumes ' help='Name of a vCenter compute cluster where volumes '
'should be created.'), 'should be created.'),
] ]

View File

@ -53,7 +53,6 @@ vzstorage_opts = [
help=('Base dir containing mount points for ' help=('Base dir containing mount points for '
'vzstorage shares.')), 'vzstorage shares.')),
cfg.ListOpt('vzstorage_mount_options', cfg.ListOpt('vzstorage_mount_options',
default=None,
help=('Mount options passed to the vzstorage client. ' help=('Mount options passed to the vzstorage client. '
'See section of the pstorage-mount man page ' 'See section of the pstorage-mount man page '
'for details.')), 'for details.')),

View File

@ -94,7 +94,6 @@ volume_manager_opts = [
help='Offload pending volume delete during ' help='Offload pending volume delete during '
'volume service startup'), 'volume service startup'),
cfg.StrOpt('zoning_mode', cfg.StrOpt('zoning_mode',
default='none',
help='FC Zoning mode configured'), help='FC Zoning mode configured'),
cfg.StrOpt('extra_capabilities', cfg.StrOpt('extra_capabilities',
default='{}', default='{}',

View File

@ -50,15 +50,12 @@ socket_opts = [
help="Sets the value of TCP_KEEPCNT for each " help="Sets the value of TCP_KEEPCNT for each "
"server socket. Not supported on OS X."), "server socket. Not supported on OS X."),
cfg.StrOpt('ssl_ca_file', cfg.StrOpt('ssl_ca_file',
default=None,
help="CA certificate file to use to verify " help="CA certificate file to use to verify "
"connecting clients"), "connecting clients"),
cfg.StrOpt('ssl_cert_file', cfg.StrOpt('ssl_cert_file',
default=None,
help="Certificate file to use when starting " help="Certificate file to use when starting "
"the server securely"), "the server securely"),
cfg.StrOpt('ssl_key_file', cfg.StrOpt('ssl_key_file',
default=None,
help="Private key file to use when starting " help="Private key file to use when starting "
"the server securely"), "the server securely"),
] ]

View File

@ -42,10 +42,8 @@ brcd_zone_opts = [
default=True, default=True,
help='overridden zoning activation state'), help='overridden zoning activation state'),
cfg.StrOpt('zone_name_prefix', cfg.StrOpt('zone_name_prefix',
default=None,
help='overridden zone name prefix'), help='overridden zone name prefix'),
cfg.StrOpt('principal_switch_wwn', cfg.StrOpt('principal_switch_wwn',
default=None,
help='Principal switch WWN of the fabric'), help='Principal switch WWN of the fabric'),
] ]

View File

@ -80,7 +80,7 @@ class BrcdFCZoneDriver(fc_zone_driver.FCZoneDriver):
base_san_opts = [] base_san_opts = []
if not fabric_names: if not fabric_names:
base_san_opts.append( base_san_opts.append(
cfg.StrOpt('fc_fabric_names', default=None, cfg.StrOpt('fc_fabric_names',
help='Comma separated list of fibre channel ' help='Comma separated list of fibre channel '
'fabric names. This list of names is used to' 'fabric names. This list of names is used to'
' retrieve other SAN credentials for connecting' ' retrieve other SAN credentials for connecting'

View File

@ -39,10 +39,8 @@ cisco_zone_opts = [
default=True, default=True,
help='overridden zoning activation state'), help='overridden zoning activation state'),
cfg.StrOpt('cisco_zone_name_prefix', cfg.StrOpt('cisco_zone_name_prefix',
default=None,
help='overridden zone name prefix'), help='overridden zone name prefix'),
cfg.StrOpt('cisco_zoning_vsan', cfg.StrOpt('cisco_zoning_vsan',
default=None,
help='VSAN of the Fabric'), help='VSAN of the Fabric'),
] ]

View File

@ -79,7 +79,7 @@ class CiscoFCZoneDriver(fc_zone_driver.FCZoneDriver):
base_san_opts = [] base_san_opts = []
if not fabric_names: if not fabric_names:
base_san_opts.append( base_san_opts.append(
cfg.StrOpt('fc_fabric_names', default=None, cfg.StrOpt('fc_fabric_names',
help='Comma separated list of fibre channel ' help='Comma separated list of fibre channel '
'fabric names. This list of names is used to' 'fabric names. This list of names is used to'
' retrieve other SAN credentials for connecting' ' retrieve other SAN credentials for connecting'

View File

@ -53,7 +53,6 @@ zone_manager_opts = [
help='Zoning policy configured by user; valid values include ' help='Zoning policy configured by user; valid values include '
'"initiator-target" or "initiator"'), '"initiator-target" or "initiator"'),
cfg.StrOpt('fc_fabric_names', cfg.StrOpt('fc_fabric_names',
default=None,
help='Comma separated list of Fibre Channel fabric names.' help='Comma separated list of Fibre Channel fabric names.'
' This list of names is used to retrieve other SAN credentials' ' This list of names is used to retrieve other SAN credentials'
' for connecting to each SAN fabric'), ' for connecting to each SAN fabric'),