On Fri, Jan 08, 2016 at 03:40:36PM +0100, 'Oleg Ponomarev' via ganeti-devel 
wrote:
> Functions and classes related to authentication moved to rapi.auth
> module and are abstracted by RapiAuthenticator class in order to
> simplify implementation of other authentication modules.
> 
> Signed-off-by: Oleg Ponomarev <oponoma...@google.com>
> ---
>  Makefile.am                            |  11 ++-
>  lib/http/auth.py                       | 102 ++++++++++++++---------
>  lib/rapi/auth/__init__.py              |  52 ++++++++++++
>  lib/rapi/auth/basic_auth.py            | 148 
> +++++++++++++++++++++++++++++++++
>  lib/rapi/auth/users_file.py            | 137 ++++++++++++++++++++++++++++++
>  lib/rapi/testutils.py                  |  22 +++--
>  lib/rapi/users_file.py                 | 137 ------------------------------
>  lib/server/rapi.py                     | 101 +++-------------------
>  qa/qa_rapi.py                          |   2 +-
>  test/py/ganeti.http_unittest.py        |  42 +++++++---
>  test/py/ganeti.server.rapi_unittest.py |  42 ++++++----
>  11 files changed, 489 insertions(+), 307 deletions(-)
>  create mode 100644 lib/rapi/auth/__init__.py
>  create mode 100644 lib/rapi/auth/basic_auth.py
>  create mode 100644 lib/rapi/auth/users_file.py
>  delete mode 100644 lib/rapi/users_file.py

LGTM

-- 
Klaus Aehlig
Google Germany GmbH, Dienerstr. 12, 80331 Muenchen
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschaeftsfuehrer: Matthew Scott Sucherman, Paul Terence Manicle

Reply via email to