Signed-off-by: Guido Trotter <[email protected]>
---
lib/constants.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/constants.py b/lib/constants.py
index a03cec0..4886595 100644
--- a/lib/constants.py
+++ b/lib/constants.py
@@ -702,6 +702,7 @@ OOB_STATUSES = frozenset([
# Instance Parameters Profile
PP_DEFAULT = "default"
+# NIC_* constants are used inside the ganeti config
NIC_MODE = "mode"
NIC_LINK = "link"
@@ -717,6 +718,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"
@@ -729,6 +731,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"
--
1.7.2.3