Module OpenStack
In: lib/openstack/volume/snapshot.rb
lib/openstack/volume/volume.rb
lib/openstack/volume/connection.rb
lib/openstack/version.rb
lib/openstack/image/connection.rb
lib/openstack/swift/storage_object.rb
lib/openstack/swift/container.rb
lib/openstack/swift/connection.rb
lib/openstack/network/subnet.rb
lib/openstack/network/network.rb
lib/openstack/network/port.rb
lib/openstack/network/connection.rb
lib/openstack/connection.rb
lib/openstack/compute/metadata.rb
lib/openstack/compute/image.rb
lib/openstack/compute/address.rb
lib/openstack/compute/server.rb
lib/openstack/compute/connection.rb
lib/openstack/compute/flavor.rb
lib/openstack/compute/personalities.rb
lib/openstack.rb

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.

Methods

Classes and Modules

Module OpenStack::Compute
Module OpenStack::Image
Module OpenStack::Network
Module OpenStack::Swift
Module OpenStack::Volume
Class OpenStack::AuthV10
Class OpenStack::AuthV20
Class OpenStack::Authentication
Class OpenStack::Connection
Class OpenStack::Exception

Constants

VERSION = '1.1.1-mira1'
MAX_PERSONALITY_ITEMS = 5   Constants that set limits on server creation
MAX_PERSONALITY_FILE_SIZE = 10240
MAX_SERVER_PATH_LENGTH = 255

Public Class methods

e.g. keys = [:limit, :marker] params = {:limit=>2, :marker="marios", :prefix=>"/"} you want url = /container_name?limit=2&marker=marios

Helper method to recursively symbolize hash keys.

[Validate]