[occi-wg] JSON Rendering

Feldhaus, Florian florian.feldhaus at gwdg.de
Tue Jan 29 09:44:19 EST 2013


Please find attached the current version of the JSON Rendering. There was no change since the last mail from Ralf on 2. October 2012. Please send any feedback / open issues to the mailinglist so that we can address it in the next OCCI ConfCall.




The rOCCI team implemented the current state of the JSON document and you can check it out with the e.g. the following commands (needs ruby and rubygems to be installed):
gem install occi
irb
require 'occi'
compute=Occi::Infrastructure::Compute.new
compute.title='Title'
compute.summary='Summary'
compute.architecture='x64'
compute.cores=1
compute.hostname='hostname'
compute.speed=1.0
compute.memory=1
compute.link 'http://myservice/123'
collection=Occi::Collection.new
collection.resources << compute
collection.to_json
exit

Cheers,
Florian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: json_rendering.pdf
Type: application/pdf
Size: 120417 bytes
Desc: json_rendering.pdf
URL: <http://www.ogf.org/pipermail/occi-wg/attachments/20130129/2b35fa60/attachment-0001.pdf>


More information about the occi-wg mailing list