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 commit 69f4f5ffe4
)
This commit is contained in:
parent
e834bed3c5
commit
e20c7d34e4
|
@ -59,8 +59,9 @@ PURE_OPTS = [
|
||||||
"this calculated value will override the "
|
"this calculated value will override the "
|
||||||
"max_over_subscription_ratio config option."),
|
"max_over_subscription_ratio config option."),
|
||||||
cfg.StrOpt("pure_host_personality",
|
cfg.StrOpt("pure_host_personality",
|
||||||
|
default=None,
|
||||||
choices=['aix', 'esxi', 'hitachi-vsp', 'hpux',
|
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 "
|
help="Determines how the Purity system tunes the protocol used "
|
||||||
"between the array and the initiator."),
|
"between the array and the initiator."),
|
||||||
# These are used as default settings. In future these can be overridden
|
# These are used as default settings. In future these can be overridden
|
||||||
|
|
Loading…
Reference in New Issue