Part of libcloud.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.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)