summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2016-03-15 14:00:26 +0800
committerFam Zheng <famz@redhat.com>2016-03-15 14:00:26 +0800
commit2372b244d57325117a477514f28c748f2aca8142 (patch)
tree934254b979b414dbadcec3fec492aeccd05de2ab
parent2b1278524510a1568769e27bded52246c5b5d84c (diff)
downloadrtslib-fb-2372b244d57325117a477514f28c748f2aca8142.tar.gz
UserBackedStorageObject: Fix docstring for __init__
The present parameter list is "name, config, size, wwn", update the docstring to match this. Signed-off-by: Fam Zheng <famz@redhat.com>
-rw-r--r--rtslib/tcm.py11
1 files changed, 4 insertions, 7 deletions
diff --git a/rtslib/tcm.py b/rtslib/tcm.py
index 941db1c..bdeafd2 100644
--- a/rtslib/tcm.py
+++ b/rtslib/tcm.py
@@ -743,16 +743,13 @@ class UserBackedStorageObject(StorageObject):
'''
@param name: The name of the UserBackedStorageObject.
@type name: string
- @param dev: The path to the backend block device to be used.
- - Example: I{dev="/dev/sda"}.
- - The only device type that is accepted I{TYPE_DISK}.
- For other device types, use pscsi.
- @type dev: string
- @param size: The size of the device to create, in bytes.
- @type size: int
@param config: user-handler-specific config string.
- e.g. "rbd/machine1@snap4"
@type config: string
+ @param size: The size of the device to create, in bytes.
+ @type size: int
+ @param wwn: T10 WWN Unit Serial, will generate if None
+ @type wwn: string
@return: A UserBackedStorageObject object.
'''