RAPI: Add flag to require authentication
Most RAPI resources do not require authentication for the “GET” method. In some setups it can be desirable to always require authentication. This patch adds a command line parameter to always require it. Some unrelated minor typos in the “ganeti-rapi” man page are also fixed. Signed-off-by:Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
Showing
- NEWS 10 additions, 0 deletionsNEWS
- lib/rapi/testutils.py 2 additions, 2 deletionslib/rapi/testutils.py
- lib/server/rapi.py 10 additions, 3 deletionslib/server/rapi.py
- man/ganeti-rapi.rst 7 additions, 6 deletionsman/ganeti-rapi.rst
- test/py/ganeti.server.rapi_unittest.py 14 additions, 8 deletionstest/py/ganeti.server.rapi_unittest.py
Please register or sign in to comment