Revision abdf0113 lib/objects.py

b/lib/objects.py
342 342

  
343 343
    This method, given the node on which the parent disk lives, will
344 344
    return the list of all (node, disk) pairs which describe the disk
345
    tree in the most compact way. For example, a md/drbd/lvm stack
346
    will be returned as (primary_node, md) and (secondary_node, drbd)
347
    which represents all the top-level devices on the nodes. This
348
    means that on the primary node we need to activate the the md (and
349
    recursively all its children) and on the secondary node we need to
350
    activate the drbd device (and its children, the two lvm volumes).
345
    tree in the most compact way. For example, a drbd/lvm stack
346
    will be returned as (primary_node, drbd) and (secondary_node, drbd)
347
    which represents all the top-level devices on the nodes.
351 348

  
352 349
    """
353 350
    my_nodes = self.GetNodes(parent_node)

Also available in: Unified diff