Revision 5073fa0c

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

  
b/lib/storage/bdev.py
1796 1796
                  represented by the disk parameter
1797 1797
  @type excl_stor: boolean
1798 1798
  @param excl_stor: Whether exclusive_storage is active
1799
  @rtype: L{bdev.BlockDev}
1800
  @return: the created device, or C{None} in case of an error
1799 1801

  
1800 1802
  """
1801 1803
  _VerifyDiskType(disk.dev_type)

Also available in: Unified diff