On Wed, May 12, 2010 at 7:08 PM, Michael Hanselmann <[email protected]> wrote:
LGTM Thanks, Guido > --- > 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. > + Although, would it be so bad to depend on utils, for example, if needed? It's not like having it on disk is going to hurt anything? Guido
