Skip to content
Snippets Groups Projects
Commit 246f4067 authored by Guido Trotter's avatar Guido Trotter
Browse files

Add comments about INIC, IDISK and NIC constants


Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent fbc263a9
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment