Revision ae1a845c lib/opcodes.py

b/lib/opcodes.py
594 594
class OpClusterVerifyDisks(OpCode):
595 595
  """Verify the cluster disks.
596 596

  
597
  Parameters: none
597
  """
598

  
598 599

  
599
  Result: a tuple of four elements:
600
    - list of node names with bad data returned (unreachable, etc.)
601
    - dict of node names with broken volume groups (values: error msg)
600
class OpGroupVerifyDisks(OpCode):
601
  """Verifies the status of all disks in a node group.
602

  
603
  Result: a tuple of three elements:
604
    - dict of node names with issues (values: error msg)
602 605
    - list of instances with degraded disks (that should be activated)
603 606
    - dict of instances with missing logical volumes (values: (node, vol)
604 607
      pairs with details about the missing volumes)
......
612 615
  consideration. This might need to be revisited in the future.
613 616

  
614 617
  """
618
  OP_DSC_FIELD = "group_name"
619
  OP_PARAMS = [
620
    _PGroupName,
621
    ]
615 622

  
616 623

  
617 624
class OpClusterRepairDiskSizes(OpCode):

Also available in: Unified diff