Commit 1a05d855 authored by Oleksiy Mishchenko's avatar Oleksiy Mishchenko
Browse files

RAPI: Export beparams as dict. The patch also enables LUQueryInstances to...

RAPI: Export beparams as dict. The patch also enables LUQueryInstances to accept beparams as valid field.

Reviewed-by: iustinp
parent 212fa3a7
......@@ -2679,7 +2679,7 @@ class LUQueryInstances(NoHooksLU):
"admin_state", "admin_ram",
"disk_template", "ip", "mac", "bridge",
"sda_size", "sdb_size", "vcpus", "tags",
"network_port",
"network_port", "beparams",
"serial_no", "hypervisor", "hvparams",
] + hvp + bep)
......
......@@ -34,8 +34,7 @@ from ganeti.rapi import baserlib
I_FIELDS = ["name", "os", "pnode", "snodes", "admin_state", "disk_template",
"ip", "mac", "bridge", "sda_size", "sdb_size", "be/vcpus",
"be/memory", "be/auto_balance",
"ip", "mac", "bridge", "sda_size", "sdb_size", "beparams",
"oper_state", "status", "tags"]
N_FIELDS = ["name", "dtotal", "dfree",
......
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