Revision 5ef5cfea
b/doc/rapi.rst | ||
---|---|---|
136 | 136 |
You can access the API using your favorite programming language as long |
137 | 137 |
as it supports network connections. |
138 | 138 |
|
139 |
Ganeti RAPI client |
|
140 |
++++++++++++++++++ |
|
141 |
|
|
142 |
Ganeti includes a standalone RAPI client, ``lib/rapi/client.py``. |
|
143 |
|
|
139 | 144 |
Shell |
140 | 145 |
+++++ |
141 | 146 |
|
b/lib/rapi/client.py | ||
---|---|---|
21 | 21 |
|
22 | 22 |
"""Ganeti RAPI client.""" |
23 | 23 |
|
24 |
# No Ganeti-specific modules should be imported. The RAPI client is supposed to |
|
25 |
# be standalone. |
|
26 |
|
|
24 | 27 |
import httplib |
25 | 28 |
import urllib2 |
26 | 29 |
import logging |
Also available in: Unified diff