Commit 1afea34a authored by Apollon Oikonomopoulos's avatar Apollon Oikonomopoulos Committed by Guido Trotter
Browse files

Add "adopt" to the allowed disk parameters

"adopt" was missing from bd061c35

, thus breaking disk adoption.
Signed-off-by: default avatarApollon Oikonomopoulos <apollon@noc.grnet.gr>
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 37adad2b
...@@ -514,8 +514,13 @@ NICS_PARAMETERS = frozenset(NICS_PARAMETER_TYPES.keys()) ...@@ -514,8 +514,13 @@ NICS_PARAMETERS = frozenset(NICS_PARAMETER_TYPES.keys())
IDISK_SIZE = "size" IDISK_SIZE = "size"
IDISK_MODE = "mode" IDISK_MODE = "mode"
IDISK_PARAMS = frozenset([IDISK_SIZE, IDISK_MODE]) IDISK_ADOPT = "adopt"
IDISK_PARAMS_TYPES = {IDISK_SIZE: VTYPE_SIZE, IDISK_MODE: VTYPE_STRING} IDISK_PARAMS = frozenset([IDISK_SIZE, IDISK_MODE, IDISK_ADOPT])
IDISK_PARAMS_TYPES = {
IDISK_SIZE: VTYPE_SIZE,
IDISK_MODE: VTYPE_STRING,
IDISK_ADOPT: VTYPE_STRING,
}
INIC_MAC = "mac" INIC_MAC = "mac"
INIC_IP = "ip" INIC_IP = "ip"
INIC_MODE = "mode" INIC_MODE = "mode"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment