Revision 5073fa0c lib/storage/base.py

b/lib/storage/base.py
119 119
    the children. The idea is that these two, taken together, are
120 120
    enough for both creation and assembly (later).
121 121

  
122
    @type unique_id: 2-element tuple or list
123
    @param unique_id: unique identifier; the details depend on the actual device
124
        type
125
    @type children: list of L{BlockDev}
126
    @param children: for hierarchical devices, the child devices
127
    @type size: float
128
    @param size: size in MiB
129
    @type params: dict
130
    @param params: device-specific options/parameters
131
    @type excl_stor: bool
132
    @param excl_stor: whether exclusive_storage is active
133
    @rtype: L{BlockDev}
134
    @return: the created device, or C{None} in case of an error
135

  
122 136
    """
123 137
    raise NotImplementedError
124 138

  

Also available in: Unified diff