Revision 55b7e783 lib/opcodes.py

b/lib/opcodes.py
1959 1959
      return the allocator output (direction 'out')
1960 1960

  
1961 1961
  """
1962
  OP_DSC_FIELD = "allocator"
1962
  OP_DSC_FIELD = "iallocator"
1963 1963
  OP_PARAMS = [
1964 1964
    ("direction", ht.NoDefault,
1965 1965
     ht.TElemOf(constants.VALID_IALLOCATOR_DIRECTIONS), None),
......
1973 1973
     None),
1974 1974
    ("disks", ht.NoDefault, ht.TMaybe(ht.TList), None),
1975 1975
    ("hypervisor", None, ht.TMaybeString, None),
1976
    ("allocator", None, ht.TMaybeString, None),
1976
    _PIAllocFromDesc(None),
1977 1977
    ("tags", ht.EmptyList, ht.TListOf(ht.TNonEmptyString), None),
1978 1978
    ("memory", None, ht.TMaybe(ht.TNonNegativeInt), None),
1979 1979
    ("vcpus", None, ht.TMaybe(ht.TNonNegativeInt), None),

Also available in: Unified diff