From 2372b244d57325117a477514f28c748f2aca8142 Mon Sep 17 00:00:00 2001 From: Fam Zheng Date: Tue, 15 Mar 2016 14:00:26 +0800 Subject: 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 --- rtslib/tcm.py | 11 ++++------- 1 file 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. ''' -- cgit v1.2.1