Commit 31d1791a authored by Guido Trotter's avatar Guido Trotter
Browse files

Query: allow query on maximum and minimum memory



be/memory is kept as an alias.
Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent b5ef2316
......@@ -1626,7 +1626,8 @@ def _GetInstanceParameterFields():
# TODO: Consider moving titles closer to constants
be_title = {
constants.BE_AUTO_BALANCE: "Auto_balance",
constants.BE_MEMORY: "ConfigMemory",
constants.BE_MAXMEM: "ConfigMaxMem",
constants.BE_MINMEM: "ConfigMinMem",
constants.BE_VCPUS: "ConfigVCPUs",
}
......@@ -1836,6 +1837,7 @@ def _BuildInstanceFields():
aliases = [
("vcpus", "be/vcpus"),
("be/memory", "be/maxmem"),
("sda_size", "disk.size/0"),
("sdb_size", "disk.size/1"),
] + network_aliases
......
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