A tool to manage Rackspace Cloud servers and Block Storage volumes

fog is awesome, but the API can be a bit cryptic and long-winded, especially for things like creating a VM with an attached block storage volume

USAGE

In your Gemfile

gem "digitalronin-rackspace", require: "rackspace"

Create an 8G General Purpose VM with an attached 75G SATA block storage volume;

require 'rackspace'

vm = Rackspace::Vm.new(
  size:     8,
  account:  'myaccount',
  name:     'testserver',
  volume:   { size: 75 }
).create

Destroy a VM and its attached storage volume

Rackspace::Vm.new(account: 'myaccount', name: 'testserver').destroy(destroy_volume: true)

See the scripts in the examples directory

ASSUMPTIONS/PRE-REQUISITES

CAVEATS

TODO