def _CheckDiskConsistency(lu, instance, dev, node, on_primary, ldisk=False):
- """Wrapper around L{_CheckDiskConistencyInner}.
+ """Wrapper around L{_CheckDiskConsistencyInner}.
"""
(disk,) = _AnnotateDiskParams(instance, [dev], lu.cfg)
def GetGroupDiskParams(self, group):
"""Get the disk params populated with inherit chain.
- @type group: L{objects.Group}
+ @type group: L{objects.NodeGroup}
@param group: The group we want to know the params for
@return: A dict with the filled in disk params
def _UnlockedGetGroupDiskParams(self, group):
"""Get the disk params populated with inherit chain down to node-group.
- @type group: L{objects.Group}
+ @type group: L{objects.NodeGroup}
@param group: The group we want to know the params for
@return: A dict with the filled in disk params
def FillDiskParams(default_dparams, custom_dparams, skip_keys=None):
"""Fills the disk parameter defaults.
- @see FillDict: For parameters and return value
+ @see: L{FillDict} for parameters and return value
"""
assert frozenset(default_dparams.keys()) == constants.DISK_TEMPLATES