michaelrigart/ganeti_client
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
== About This is a client for the Ganeti RAPI written in Ruby. For more information on Ganeti, visit: - http://code.google.com/p/ganeti/ - http://ganeti-doc.googlecode.com/svn/ganeti-2.1/html/rapi.html This client has been tested using ruby 1.8.7 (2009-06-12 patchlevel 174) and Ganeti 2.1.6 == Installation gem install ganeti_client == Usage # When using irb require the library first require 'ganeti_client' # When using in combination of rails, add it to the Gemfile # Create a client instance client = GanetiClient::Client.new("host:port", "username", "password") # now you should be able to access the api resources by using the client instance. # example: info = client.info_get => #<GanetiInfo:0x10151bb78> # most methods return an object. When you use .to_json on an object, you get # the json object returned # then you can see all the attributes available info.name => "hostname" # More info can be found on the wiki page: http://wiki.github.com/netronix/ganeti_client/ == Contributing 1. Fork the project 2. Add your changes 3. Write tests for your changes 4. Send a pull request == Author Michaël Rigart michael@netronix.be http://www.netronix.be == License This Ruby Ganeti Client is release under AGPL licence (http://www.gnu.org/licenses/agpl-3.0.html)
About
Ruby client for Google Ganeti
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published