Pure: Add default value to pure_host_personality
Pure's "pure_host_personality" configuration option currently defaults to a non valid value according to its choices. This affects tools leveraging the "get_driver_options" mechanism, since the default value for the option was not considered a valid option. This patch sets the default explicitly and adds it as a valid choice. Change-Id: I381b80920d812a3f3b5f75b6dae66aa932f6baa4 (cherry picked from commit69f4f5ffe4
) (cherry picked from commite20c7d34e4
) (cherry picked from commit1aa9073008
)
This commit is contained in:
parent
ecd2916042
commit
c2c098317c
|
@ -62,8 +62,9 @@ PURE_OPTS = [
|
|||
"this calculated value will override the "
|
||||
"max_over_subscription_ratio config option."),
|
||||
cfg.StrOpt("pure_host_personality",
|
||||
default=None,
|
||||
choices=['aix', 'esxi', 'hitachi-vsp', 'hpux',
|
||||
'oracle-vm-server', 'solaris', 'vms'],
|
||||
'oracle-vm-server', 'solaris', 'vms', None],
|
||||
help="Determines how the Purity system tunes the protocol used "
|
||||
"between the array and the initiator."),
|
||||
# These are used as default settings. In future these can be overridden
|
||||
|
|
Loading…
Reference in New Issue