Revision 66af5ec5 lib/opcodes.py

b/lib/opcodes.py
954 954
     " ``%s`` or ``%s``" % (constants.DDM_ADD, constants.DDM_REMOVE)),
955 955
    ("use_external_mip_script", None, ht.TMaybeBool,
956 956
     "Whether to use an external master IP address setup script"),
957
    # FIXME: remove once enabled disk templates are fully implemented.
957 958
    ("enabled_storage_types", None,
958 959
     ht.TMaybe(ht.TAnd(ht.TListOf(ht.TElemOf(constants.VALID_STORAGE_TYPES)),
959 960
                       ht.TTrue)),
960 961
     "List of enabled storage types"),
962
    ("enabled_disk_templates", None,
963
     ht.TMaybe(ht.TAnd(ht.TListOf(ht.TElemOf(constants.DISK_TEMPLATES)),
964
                       ht.TTrue)),
965
     "List of enabled disk templates"),
961 966
    ]
962 967
  OP_RESULT = ht.TNone
963 968

  

Also available in: Unified diff