diff --git a/lib/constants.py b/lib/constants.py index e2143364d55a137c6f2f2b0c6e4f73e32e15d72d..2bd73ddf7e8514c200d6f840468dc6ac9f7357e8 100644 --- a/lib/constants.py +++ b/lib/constants.py @@ -712,6 +712,7 @@ OOB_STATUSES = frozenset([ # Instance Parameters Profile PP_DEFAULT = "default" +# NIC_* constants are used inside the ganeti config NIC_MODE = "mode" NIC_LINK = "link" @@ -727,6 +728,7 @@ NICS_PARAMETER_TYPES = { NICS_PARAMETERS = frozenset(NICS_PARAMETER_TYPES.keys()) +# IDISK_* constants are used in opcodes, to create/change disks IDISK_SIZE = "size" IDISK_MODE = "mode" IDISK_ADOPT = "adopt" @@ -739,6 +741,7 @@ IDISK_PARAMS_TYPES = { } IDISK_PARAMS = frozenset(IDISK_PARAMS_TYPES.keys()) +# INIC_* constants are used in opcodes, to create/change nics INIC_MAC = "mac" INIC_IP = "ip" INIC_MODE = "mode"