RAPI: Add flag to require authentication
authorMichael Hanselmann <hansmi@google.com>
Wed, 20 Feb 2013 17:01:56 +0000 (18:01 +0100)
committerMichael Hanselmann <hansmi@google.com>
Fri, 22 Feb 2013 10:51:07 +0000 (11:51 +0100)
commit27a8a190a08e80ddf165983497e87b550b79b6e6
tree4daad1f5c40a9cf5b7c9236c3afe7b327d7ebc22
parentea322c2790fe1bb8cd1a3660462ee81b295f0d9a
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>
NEWS
lib/rapi/testutils.py
lib/server/rapi.py
man/ganeti-rapi.rst
test/py/ganeti.server.rapi_unittest.py