l.i.INodeDriver(Interface) : interface documentation

Part of libcloud.interface View Source View In Hierarchy

Known implementations: libcloud.base.NodeDriver, libcloud.drivers.dummy.DummyNodeDriver, libcloud.drivers.ecp.ECPNodeDriver

A driver which provides nodes, such as an Amazon EC2 instance, or Slicehost slice
Attribute connection Represents the IConnection for this driver
Attribute type The type of this provider as defined by Provider
Attribute name A pretty name (Linode, etc) for this provider
Attribute NODE_STATE_MAP A mapping of states found in the response to their standard type. This is a constant.
Method create_node Creates a new node based on provided params. Name is ignored on some providers.
Method destroy_node Returns True if the destroy was successful, otherwise False
Method list_nodes Returns a list of nodes for this provider
Method list_images Returns a list of images for this provider
Method list_sizes Returns a list of sizes for this provider
Method list_locations Returns a list of locations for this prodiver
Method reboot_node Returns True if the reboot was successful, otherwise False
connection =
Represents the IConnection for this driver
type =
The type of this provider as defined by Provider
name =
A pretty name (Linode, etc) for this provider
NODE_STATE_MAP =
A mapping of states found in the response to their standard type. This is a constant.
def create_node(**kwargs): (source)
Creates a new node based on provided params. Name is ignored on some providers.

To specify provider-specific options, use keyword arguments.

def destroy_node(node): (source)
Returns True if the destroy was successful, otherwise False
def list_nodes(): (source)
Returns a list of nodes for this provider
def list_images(location=None): (source)
Returns a list of images for this provider
def list_sizes(location=None): (source)
Returns a list of sizes for this provider
def list_locations(): (source)
Returns a list of locations for this prodiver
def reboot_node(node): (source)
Returns True if the reboot was successful, otherwise False
API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:42:22.