--- doc/rapi.rst | 5 +++++ lib/rapi/client.py | 3 +++ 2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/doc/rapi.rst b/doc/rapi.rst index 2172b4a..4c1763d 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 f9a80c1..97d89e0 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 -- 1.7.0.4
