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>
Showing
- lib/cli.py 2 additions, 2 deletionslib/cli.py
- lib/cmdlib.py 2 additions, 2 deletionslib/cmdlib.py
- lib/constants.py 5 additions, 2 deletionslib/constants.py
- lib/luxi.py 2 additions, 2 deletionslib/luxi.py
- lib/opcodes.py 3 additions, 3 deletionslib/opcodes.py
- lib/server/masterd.py 4 additions, 4 deletionslib/server/masterd.py
- test/ganeti.cmdlib_unittest.py 4 additions, 4 deletionstest/ganeti.cmdlib_unittest.py
Loading
Please register or sign in to comment