constants: Rename QR_OP_*, add QR_VIA_RAPI
authorMichael Hanselmann <hansmi@google.com>
Fri, 11 Mar 2011 13:26:17 +0000 (14:26 +0100)
committerMichael Hanselmann <hansmi@google.com>
Tue, 15 Mar 2011 13:04:08 +0000 (14:04 +0100)
commitabd66bf8edd93282a488a0c3cca8cf61d50e5377
treeb28a958b6f427ab224732d41299404e0b41b5319
parent31554d0a900075e4be1275d5fb845e24bb091b37
constants: Rename QR_OP_*, add QR_VIA_RAPI

Commit 28b71a76 added a list of resources which can be queried using
LUXI. Unfortunately the variable was named “QR_OP_LUXI”, which can be
confusing. This patch renames “QR_OP_QUERY” to “QR_VIA_OP”, “QR_OP_LUXI”
to “QR_VIA_LUXI” and adds a new variable, currently equal to
“QR_VIA_LUXI”, for remote API queries (mostly for documentation).

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
lib/cli.py
lib/cmdlib.py
lib/constants.py
lib/luxi.py
lib/opcodes.py
lib/server/masterd.py
test/ganeti.cmdlib_unittest.py