rubineti
Ruby bindings to Ganeti's Version 2 Remote API.
Usage
Bundler
gem "rubineti"
Examples
Initialize a connection
@connection = Rubineti::Compute.new :host => "ganeti.primary", :credentials => "fake:credentials"
View all jobs
@connection.jobs_list
Handling query params
@connection.instance_info "instance_name", :query => "bulk=1"
The responses are objectified (by Yajl), and returned unmodified.
Testing
Tests can run offline thanks to VCR.
$ bundle exec rake
Documents
Contributions
I have implemented the end-points immediately needed. Feel free to send me pull requests, if you wish to help out.
Credits
Wesley Beary's fog, for which I referenced.