Base API

list_nodes

Method signature: driver.list_nodes()
Description: Return a list of all the nodes belonging to your account.

list_images

Method signature: driver.list_images()
Description: Return a list of all the available images.

list_sizes

Method signature: driver.list_sizes()
Description: Return a list of all the available sizes.

list_locations

Method signature: driver.list_locations()
Description: Return a list of all the available locations.

create_node

Method signature: driver.create_node(name, size, image)
Description: Create a new node instance.

Keep in mind that a lot drivers also take additional optional keyword arguments which are documented in the each driver API docs page.

deploy_node

Method signature: driver.deploy_node(name, size, image, deploy)
Description: Create a new node instance and run a deployment script on it. More about deployment functionality can be found on the Deployment page.

reboot_node

Method signature: driver.reboot_node(node), node.reboot()
Description: Restart a node.

destroy_node

Method signature: driver.destroy_node(node), node.destroy()
Description: Destroy a running or stopped node. This operation will in most cases also destroy all the data (disk, snapshots, etc.) associated with this node so be careful when you use it.