Skip to content

Commit

Permalink
Correct help text of target configs
Browse files Browse the repository at this point in the history
The config options target_prefix, target_ip_address,
iscsi_secondary_ip_addresses, target_port are common for both
iSCSI and NVMEoF targets.
This patch updates the help text to reflect the same.

Change-Id: I4b46da01824823adae5127bed1531b7024291644
  • Loading branch information
rajathere committed Nov 7, 2022
1 parent 05e449a commit d4b4bdc
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions cinder/volume/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,19 @@
help='The percentage of backend capacity is reserved'),
cfg.StrOpt('target_prefix',
default='iqn.2010-10.org.openstack:',
help='Prefix for iSCSI volumes'),
help='Prefix for iSCSI/NVMEoF volumes'),
cfg.StrOpt('target_ip_address',
default='$my_ip',
help='The IP address that the iSCSI daemon is listening on'),
help='The IP address that the iSCSI/NVMEoF daemon is '
'listening on'),
cfg.ListOpt('iscsi_secondary_ip_addresses',
default=[],
help='The list of secondary IP addresses of the iSCSI daemon'),
help='The list of secondary IP addresses of the '
'iSCSI/NVMEoF daemon'),
cfg.PortOpt('target_port',
default=3260,
help='The port that the iSCSI daemon is listening on'),
help='The port that the iSCSI/NVMEoF daemon is listening '
'on'),
cfg.IntOpt('num_volume_device_scan_tries',
default=3,
help='The maximum number of times to rescan targets'
Expand Down

0 comments on commit d4b4bdc

Please sign in to comment.