Commit 2e1a6024 authored by Guido Trotter's avatar Guido Trotter
Browse files

constants: reindent a few dicts


Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent b2e233a5
......@@ -867,11 +867,11 @@ BE_VCPUS = "vcpus"
BE_AUTO_BALANCE = "auto_balance"
BES_PARAMETER_TYPES = {
BE_MAXMEM: VTYPE_SIZE,
BE_MINMEM: VTYPE_SIZE,
BE_VCPUS: VTYPE_INT,
BE_AUTO_BALANCE: VTYPE_BOOL,
}
BE_MAXMEM: VTYPE_SIZE,
BE_MINMEM: VTYPE_SIZE,
BE_VCPUS: VTYPE_INT,
BE_AUTO_BALANCE: VTYPE_BOOL,
}
BES_PARAMETER_COMPAT = {
BE_MEMORY: VTYPE_SIZE,
......@@ -884,8 +884,8 @@ BES_PARAMETERS = frozenset(BES_PARAMETER_TYPES.keys())
ND_OOB_PROGRAM = "oob_program"
NDS_PARAMETER_TYPES = {
ND_OOB_PROGRAM: VTYPE_MAYBE_STRING,
}
ND_OOB_PROGRAM: VTYPE_MAYBE_STRING,
}
NDS_PARAMETERS = frozenset(NDS_PARAMETER_TYPES.keys())
......@@ -934,9 +934,9 @@ NIC_MODE_ROUTED = "routed"
NIC_VALID_MODES = frozenset([NIC_MODE_BRIDGED, NIC_MODE_ROUTED])
NICS_PARAMETER_TYPES = {
NIC_MODE: VTYPE_STRING,
NIC_LINK: VTYPE_STRING,
}
NIC_MODE: VTYPE_STRING,
NIC_LINK: VTYPE_STRING,
}
NICS_PARAMETERS = frozenset(NICS_PARAMETER_TYPES.keys())
......
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