0.0
No commit activity in last 3 years
No release in over 3 years
Google Ganeti RAPI client for Ruby
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

>= 0
 Project Readme
== 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)