RETIRED, OCCI-OS provides a python egg which can be easily deployed in OpenStack and will thereby add OCCI support and interface to OpenStack.
Go to file
Alvaro Lopez Garcia b3f1fbbf79 Ensure that the appended categories does in fact exist.
Closes #43
2013-04-05 13:38:51 +02:00
occi_os_api Ensure that the appended categories does in fact exist. 2013-04-05 13:38:51 +02:00
tests Refactored some minor issues; Cleanup of exception handling in backends 2012-10-31 10:43:46 +01:00
.gitignore Minor code changes 2012-12-06 10:12:06 +01:00
Authors fixed Alvaro's email address 2012-09-13 09:34:43 +02:00
LICENSE authors and license files added 2012-07-03 16:53:29 +02:00
README.md Minor code changes 2012-12-06 10:25:53 +01:00
run_tests.sh worked on unittests 2012-10-17 15:00:22 +02:00
runme.py cleared all unresolved references 2012-10-08 15:08:53 +02:00
setup.py minor changes 2012-10-16 11:35:35 +02:00

README.md

OCCI for OpenStack

This is a clone and continuation of https://github.com/dizz/nova - it provides a python egg which can be easily deployed in [OpenStack](http://www .openstack.org) and will thereby add the 3rd party [OCCI](http://www.occi-wg .org) interface to OpenStack. For usage examples, [see the OpenStack wiki] (http://wiki.openstack.org/occi).

Usage

  1. Install dependencies: pip install pyssf
  2. Install this egg: python setup.py install (or pip install occi-os-folsom)
  3. Configure OpenStack - Add application to api-paste.ini of nova and enable the API

Note: do not install the occi package via pip. This is a seperate project and not related to OpenStack & OCCI.

Configuration

Make sure an application is configured in api-paste.ini (name can be picked yourself):

########
# OCCI #
########

[composite:occiapi]
use = egg:Paste#urlmap
/: occiapppipe

[pipeline:occiapppipe]
pipeline = authtoken keystonecontext occiapp
# with request body size limiting and rate limiting
# pipeline = sizelimit authtoken keystonecontext ratelimit occiapp

[app:occiapp]
use = egg:occi-os-folsom#occi_app

Make sure the API (name from above) is enabled in nova.conf:

[...]
enabled_apis=ec2,occiapi,osapi_compute,osapi_volume,metadata
[...]

Hacking the port number

(Optional) You can set the port option via the nova.conf configuration file - default is 8787:

[...]
occiapi_listen_port=9999
[...]

There is further documentation on setting up your development environment in the wiki.

Deployment using Puppet

This library can be integrated using puppet as a configuration management tool. See this blog post for more details.