Revision 08db7c5c lib/objects.py
b/lib/objects.py | ||
---|---|---|
274 | 274 |
class Disk(ConfigObject): |
275 | 275 |
"""Config object representing a block device.""" |
276 | 276 |
__slots__ = ["dev_type", "logical_id", "physical_id", |
277 |
"children", "iv_name", "size"] |
|
277 |
"children", "iv_name", "size", "mode"]
|
|
278 | 278 |
|
279 | 279 |
def CreateOnSecondary(self): |
280 | 280 |
"""Test if this device needs to be created on a secondary node.""" |
Also available in: Unified diff