From 5ef5cfeaf308498f7ee3195fcc55e3a853359ab5 Mon Sep 17 00:00:00 2001 From: Michael Hanselmann <hansmi@google.com> Date: Wed, 12 May 2010 19:42:22 +0200 Subject: [PATCH] Mention RAPI client in documentation Signed-off-by: Michael Hanselmann <hansmi@google.com> Reviewed-by: Guido Trotter <ultrotter@google.com> --- doc/rapi.rst | 5 +++++ lib/rapi/client.py | 3 +++ 2 files changed, 8 insertions(+) diff --git a/doc/rapi.rst b/doc/rapi.rst index 2172b4a4d..4c1763d6f 100644 --- a/doc/rapi.rst +++ b/doc/rapi.rst @@ -136,6 +136,11 @@ Usage examples You can access the API using your favorite programming language as long as it supports network connections. +Ganeti RAPI client +++++++++++++++++++ + +Ganeti includes a standalone RAPI client, ``lib/rapi/client.py``. + Shell +++++ diff --git a/lib/rapi/client.py b/lib/rapi/client.py index f9a80c1d4..97d89e003 100644 --- a/lib/rapi/client.py +++ b/lib/rapi/client.py @@ -21,6 +21,9 @@ """Ganeti RAPI client.""" +# No Ganeti-specific modules should be imported. The RAPI client is supposed to +# be standalone. + import httplib import urllib2 import logging -- GitLab