Esxi
A simple gem written to solve only once purpose - Interact with ESXI
Installation
Add this line to your application's Gemfile:
gem 'esxi'
And then execute:
$ bundle
Or install it yourself as:
$ gem install esxi
Usage
`require 'esxi'`
`esxi = VM.new({"host"=>"#{IP}", "user"=>"#{USER}", "password"=>"#{PASSWORD}", "port"=>"22"})`
`esxi.get_snapshots 1`
`esxi.create 1 name description`
Not tested extensively yet.
TODO
Write test Cases.
Contributing
- Fork it ( https://github.com/prashanthrajagopal/esxi/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request