Statistics
| Branch: | Revision:

root / docs / index.rst @ 813073b8

History | View | Annotate | Download (4.2 kB)

1
.. snf-occi documentation master file, created by
2
   sphinx-quickstart on Mon Mar 26 13:45:54 2012.
3
   You can adapt this file completely to your liking, but it should at least
4
   contain the root `toctree` directive.
5

    
6
snf-occi's documentation!
7
====================================
8

    
9
**snf-occi** implements OCCI specifications to synnefo's API in order to achieve greater interoperability in common tasks refering cyclades management. This module is a translation bridge between OCCI and Openstack API and is designed to be as independent as possible from the rest IaaS, providing an OCCI compatibility layer to other services using Openstack API. 
10

    
11
**snf-occi** is based in modules provided by kamaki cli-tool when dealing with REST API calls to Openstack.
12

    
13
.. toctree::
14
   :maxdepth: 2
15

    
16
About OCCI
17
----------
18
Current OCCI specification consists of the following three documents:
19

    
20
* `OCCI Core <http://ogf.org/documents/GFD.183.pdf>`_
21
* `OCCI Infrastructure <http://ogf.org/documents/GFD.184.pdf>`_
22
* `OCCI HTTP rendering <http://ogf.org/documents/GFD.185.pdf>`_
23

    
24
OCCI and Cyclades
25
-----------------
26
OCCI implementation in Cyclades is going to be based in the **OCCI Infrastructure** specifications, in which common Cloud IaaS components are described. Below you can see the matching components between OCCI and Cyclades:
27

    
28
+-------------------------+-------------------------+
29
|OCCI                     |Cyclades                 |
30
+=========================+=========================+
31
|Compute                  |Synnefo servers          |
32
+-------------------------+-------------------------+
33
|OS Template              |Synnefo images           |
34
+-------------------------+-------------------------+
35
|Resource Template        |Synnefo flavors          |
36
+-------------------------+-------------------------+
37
|Networking               |NA                       |
38
+-------------------------+-------------------------+
39
|Storage                  |NA                       |
40
+-------------------------+-------------------------+
41

    
42

    
43
 
44
**Note:** Metadata info in synnefo's servers cannot be represented (clearly) using OCCI's components.
45

    
46

    
47
OCCI requirements
48
------------------
49
Due to OCCI's structure there cannot be straightforward mapping to Cyclades/OpenStack API. The missing elements are networking and storage capabilities using current Cyclades API.
50

    
51
**Note:** Quantum API support is being planned.
52

    
53
OCCI operations list
54
***********************
55

    
56
Below you can see the required procedures/operations for OCCI compatibility.
57
   
58
* Handling the query interface
59
   * Query interface must be found under path /-/
60
   * Retrieve all registered Kinds, Actions and Mixins
61
   * Add a mixin definition
62
   * Remove a mixin definition
63

    
64
* Operation on paths in the name-space 
65
   * Retrieving the state of the name-space hierarchy
66
   * Retrieving all Resource instances below a path
67
   * Deletion of all Resource instances below a path
68

    
69
* Operations on Mixins and Kinds
70
   * Retrieving all Resource instances belonging to Mixin or Kind
71
   * Triggering actions to all instances of a Mixin or a Kind
72
   * Associate resource instances with a Mixin or a Kind
73
   * Full update of a Mixin collection
74
   * Dissociate resource instances from a Mixin
75

    
76
* Operations on Resource instances
77
   * Creating a resource instance
78
   * Retrieving a resource instance
79
   * Partial update of a resource instance
80
   * Full update of a resource instance
81
   * Delete a resource instance
82
   * Triggering an action on a resource instance
83

    
84
* Handling Link instances
85
   * Inline creation of a Link instance
86
   * Retrieving Resource instances with defined Links
87
   * Creating of Link Resource instance
88

    
89

    
90
OCCI client/server library
91
==========================
92

    
93
occi-py is a generic library implementation of the Open Cloud Computing Interface (OCCI). It aims to provide a high-level interface for the integration of OCCI to other new or existing applications. 
94

    
95
Features:
96
---------
97

    
98
* It includes a REST API service with the OCCI specifications already implemented
99
* It only requires a custom backend and registry to interact with Cyclades
100
* Implements a simple web frontend server with support for Tornado WSGI
101

    
102
Package on pypi: `OCCI 0.6 <http://pypi.python.org/pypi/occi/0.6>`_
103

    
104

    
105
Indices and tables
106
==================
107

    
108
* :ref:`genindex`
109
* :ref:`search`
110