Skip to content

evax/gandihosting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Gandi Hosting resources

This is a small library intended to be used with ipython.

You need a configuration file:

[hosting]
uri = https://rpc.gandi.net/xmlrpc/2.0/
key = XXXXXXXXXXXXXXXXXXXXXXXX

then you can

from gandi_hosting import *
gh = GandiHosting.from_config('myconfig.cfg')

now a few examples

add memory to a vm

myvm = gh.vms['myvmhostname']
myvm.memory = 1024

modify bandwidth

myvm.ifaces[0].bandwidth = 10240.0

About

Gandi hosting resources

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages