Revision 21d70642 lib/opcodes.py

b/lib/opcodes.py
887 887
    ]
888 888

  
889 889

  
890
class OpNodeEvacStrategy(OpCode):
891
  """Compute the evacuation strategy for a list of nodes."""
892
  OP_DSC_FIELD = "nodes"
893
  OP_PARAMS = [
894
    ("nodes", ht.NoDefault, ht.TListOf(ht.TNonEmptyString), None),
895
    ("remote_node", None, ht.TMaybeString, None),
896
    ("iallocator", None, ht.TMaybeString, None),
897
    ]
898

  
899

  
900 890
class OpNodeEvacuate(OpCode):
901 891
  """Evacuate instances off a number of nodes."""
902 892
  OP_DSC_FIELD = "node_name"

Also available in: Unified diff