Skip to content

Python bindings to Rackspace's Cloud Servers API

License

Notifications You must be signed in to change notification settings

jdunck/python-cloudservers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python bindings to the Rackspace Cloud Servers API

Documentation forthcoming.

In the meantime:

>>> import cloudservers
>>> cs = cloudservers.CloudServers(USERNAME, API_KEY)
>>> cs.flavors.list()
[...]
>>> cs.servers.list()
[...]
>>> s = cs.servers.create(image=2, flavor=1, name='myserver')

... time passes ...

>>> s.reboot()

... time passes ...

>>> s.delete()

Or, from the shell, try cloudservers help.

FAQ

What's wrong with libcloud?

Nothing! However, as a cross-service binding it's by definition lowest common denominator; I needed access to the Rackspace-specific APIs (shared IP groups, image snapshots, resizing, etc.). I also wanted a command-line utility.

About

Python bindings to Rackspace's Cloud Servers API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published