[one-users] OFG-OCCI usage example
florian.feldhaus at tu-dortmund.de
florian.feldhaus at tu-dortmund.de
Thu May 5 03:06:27 PDT 2011
Hi Justin,
the OGF-OCCI project is currently under heavy development and the
OpenNebula integration is still in a pre alpha phase. I want to finnish
the initial documentation / usage manual until next monday. Until then you
can try to use the server using a REST client [1] and specify requests
according to the OCCI 1.1 HTTP Rendering document [2]. By default, the
OCCI server uses a dummy backend instead of the OpenNebula backend. If you
want to experiment, you can change this in etc/occi-server.conf. The dummy
backend is stable (consider it in a beta status), but the OpenNebula
backend needs some work which we want to finnish over the weekend. On
monday we will release a first (Alpha) version of the OCCI 1.1 server for
OpenNebula.
Cheers,
Florian
[1] http://code.google.com/p/rest-client/
[2]
http://forge.ogf.org/sf/docman/do/downloadDocument/projects.occi-wg/docman.
root.drafts.occi_specification/doc16163
Am 05.05.11 10:35 schrieb "Justin Cinkelj" unter <justin.cinkelj at xlab.si>:
>I installed ogf-occi server from git://git.opennebula.org/ogf-occi.git
>The server is running, but I don't know hot to use it.
>
>Command:
>curl -X GET -H 'Accept: text/plain' 'http://172.16.120.228:4568/-/'
>returns listing:
>Category: network; scheme="http://schemas.ogf.org/occi/infrastructure#";
>class="kind";title="Network
>Resource";rel="http://schemas.ogf.org/occi/core#resource";location=/networ
>k/;attributes="occi.network.label occi.network.vlan
>occi.network.state";actions="http://schemas.ogf.org/occi/infrastructure/ne
>twork/action#down
>http://schemas.ogf.org/occi/infrastructure/network/action#up";
>...
>
>At http://dev.opennebula.org/projects/ogf-occi/wiki is exemplary
>request, but I don't know hot to send it to the server.
>Could someone add a complete curl command to help getting started?
>
>Thanks for help, Justin
>
>
>_______________________________________________
>Users mailing list
>Users at lists.opennebula.org
>http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
More information about the Users
mailing list