0.0.11 • Published 11 years ago

rackspace-openstack v0.0.11

Weekly downloads
47
License
-
Repository
-
Last release
11 years ago

rackspace-openstack

A client implementation for the Rackspace Openstack API (v2)

Usage

The rackspace-openstack module is compliant with the Rackspace Openstack API. rackspace-openstack is a nearly feature complete wrapper for the Rackspace Openstack APIs and should work in most scenarios.

Getting Started

Creating and authenticating your client against the Rackspace API is simple:

var openstack = require('openstack'),
    config = {
        auth : {
            username: 'your-username',
            apiKey: 'your-api-key'
    }
};

var client = openstack.createClient(config);

client.authorize(function(err) {
    if (err) {
        process.exit(1);
        return;
    }

    // Do stuff here
}

Creating a Server

client.createServer({
    image: '5cebb13a-f783-4f8c-8058-c4182c724ccd',
    flavor: 2,
    name: 'My Server'
}, function(err, server) {

    // Do stuff with your new server
    
});

Run Tests

All rackspace-openstack tests are available by running make test

Credit

Much of the shape of this library was courtesy of Charlie Robbins and the team at Nodejitsu for node-cloudservers

Author: Ken Perkins

0.0.11

11 years ago

0.0.10

11 years ago

0.0.9

11 years ago

0.0.8

11 years ago

0.0.7

11 years ago

0.0.6

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago