Add missing description for params of 'start_iscsi_target'.
Change-Id: I3bbd092d0738110ad36f85f1d333273f46648d2b Closes-Bug: #1691303
This commit is contained in:
parent
15878b7b18
commit
50f914d088
@ -150,8 +150,11 @@ class ISCSIExtension(base.BaseAgentExtension):
|
|||||||
portal_port=None):
|
portal_port=None):
|
||||||
"""Expose the disk as an ISCSI target.
|
"""Expose the disk as an ISCSI target.
|
||||||
|
|
||||||
|
:param iqn: IQN for iSCSI target. If None, a new IQN is generated.
|
||||||
:param wipe_disk_metadata: if the disk metadata should be wiped out
|
:param wipe_disk_metadata: if the disk metadata should be wiped out
|
||||||
before the disk is exposed.
|
before the disk is exposed.
|
||||||
|
:param portal_port: customized port for iSCSI port, can be None.
|
||||||
|
:returns: a dict that provides IQN of iSCSI target.
|
||||||
"""
|
"""
|
||||||
# If iqn is not given, generate one
|
# If iqn is not given, generate one
|
||||||
if iqn is None:
|
if iqn is None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user