Revision 24c06acb lib/storage/base.py
b/lib/storage/base.py | ||
---|---|---|
109 | 109 |
raise NotImplementedError |
110 | 110 |
|
111 | 111 |
@classmethod |
112 |
def Create(cls, unique_id, children, size, params, excl_stor): |
|
112 |
def Create(cls, unique_id, children, size, spindles, params, excl_stor):
|
|
113 | 113 |
"""Create the device. |
114 | 114 |
|
115 | 115 |
If the device cannot be created, it will return None |
... | ... | |
126 | 126 |
@param children: for hierarchical devices, the child devices |
127 | 127 |
@type size: float |
128 | 128 |
@param size: size in MiB |
129 |
@type spindles: int |
|
130 |
@param spindles: number of physical disk to dedicate to the device |
|
129 | 131 |
@type params: dict |
130 | 132 |
@param params: device-specific options/parameters |
131 | 133 |
@type excl_stor: bool |
Also available in: Unified diff