Browse Source

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)
(cherry picked from commit e20c7d34e4)
changes/07/780207/1
Gorka Eguileor 3 months ago
committed by Luigi Toscano
parent
commit
1aa9073008
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      cinder/volume/drivers/pure.py

+ 2
- 1
cinder/volume/drivers/pure.py View File

@ -59,8 +59,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…
Cancel
Save