openstack.rb

Path: lib/openstack.rb
Last Update: Tue Jun 30 12:54:02 +0000 2015

Ruby OpenStack API

See COPYING for license information.


Documentation & Examples

To begin reviewing the available methods and examples, view the README.rdoc file

Example: os = OpenStack::Connection.create({:username => "herp@derp.com", :api_key=>"password",

              :auth_url => "https://region-a.geo-1.identity.cloudsvc.com:35357/v2.0/",
              :authtenant=>"herp@derp.com-default-tenant", :service_type=>"object-store")

will return a handle to the object-storage service swift. Alternatively, passing :service_type=>"compute" will return a handle to the compute service nova.

Required files

net/http   net/https   uri   rubygems   json   date   jcode   openstack/connection   openstack/compute/connection   openstack/compute/server   openstack/compute/image   openstack/compute/flavor   openstack/compute/address   openstack/compute/personalities   openstack/swift/connection   openstack/swift/container   openstack/swift/storage_object   openstack/volume/connection   openstack/volume/volume   openstack/volume/snapshot   openstack/image/connection   openstack/network/connection   openstack/network/network   openstack/network/subnet   openstack/network/port   openstack/version  

[Validate]