Revision abfaa6d9 docs/developers/clients-api.rst
b/docs/developers/clients-api.rst | ||
---|---|---|
8 | 8 |
A showcase of an application built on kamaki.clients is kamaki.cli, the command |
9 | 9 |
line interface of kamaki. |
10 | 10 |
|
11 |
Since synnefo services are build as OpenStack extensions, an inheritance
|
|
11 |
Since Synnefo services are build as OpenStack extensions, an inheritance
|
|
12 | 12 |
approach has been chosen for implementing clients for both. In specific, |
13 | 13 |
the *compute*, *storage* and *image* modules are clients of the OS compute, OS |
14 | 14 |
object-store, respectively. On the contrary, all the other modules are Synnefo |
15 | 15 |
extensions (*cyclades* extents *compute*, *pithos* and *pithos_rest_api* |
16 |
extent *storage*) or novel synnefo services (e.g. *astakos* for IM, *image*
|
|
16 |
extent *storage*) or novel Synnefo services (e.g., *astakos* for IM, *image*
|
|
17 | 17 |
for *plankton*). |
18 | 18 |
|
19 | 19 |
Setup a client instance |
... | ... | |
66 | 66 |
Let's review the process with examples. |
67 | 67 |
|
68 | 68 |
First, an astakos client must be initialized (Example 1.2). An |
69 |
AUTHENTICATION_URL and a TOKEN can be acquired from the synnefo deployment UI.
|
|
69 |
AUTHENTICATION_URL and a TOKEN can be acquired from the Synnefo deployment UI.
|
|
70 | 70 |
|
71 | 71 |
.. code-block:: python |
72 | 72 |
:emphasize-lines: 1 |
Also available in: Unified diff