summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Grover <andy@groveronline.com>2016-03-15 10:02:45 -0700
committerAndy Grover <andy@groveronline.com>2016-03-15 10:02:45 -0700
commit845606a282e937798a3a81e048614a4024b3cb59 (patch)
tree934254b979b414dbadcec3fec492aeccd05de2ab
parent2b1278524510a1568769e27bded52246c5b5d84c (diff)
parent2372b244d57325117a477514f28c748f2aca8142 (diff)
downloadrtslib-fb-845606a282e937798a3a81e048614a4024b3cb59.tar.gz
Merge pull request #71 from famz/UserBackedStorageObject-__init__-docstring
UserBackedStorageObject: Fix docstring for __init__
-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.
'''