l.c.b.NodeImage(UuidMixin) : class documentation

Part of libcloud.compute.base View Source View In Hierarchy

An operating system image.

NodeImage objects are typically returned by the driver for the
cloud provider in response to the list_images function

>>> from libcloud.compute.drivers.dummy import DummyNodeDriver
>>> driver = DummyNodeDriver(0)
>>> image = driver.list_images()[0]
>>> image.name
'Ubuntu 9.10'

Apart from name and id, there is no further standard information;
other parameters are stored in a driver specific "extra" variable

When creating a node, a node image should be given as an argument
to the create_node function to decide which OS image to use.

>>> node = driver.create_node(image=image)
Method __init__ Undocumented
Method __repr__ Undocumented

Inherited from UuidMixin:

Method get_uuid Unique hash for a node, node image, or node size
Method uuid Undocumented
def __init__(self, id, name, driver, extra=None): (source)
Undocumented
def __repr__(self): (source)
Undocumented
API Documentation for libcloud, generated by pydoctor at 2013-09-18 15:42:48.