Package starcluster :: Module hacks
[hide private]
[frames] | no frames]

Module hacks

source code

Functions [hide private]
 
register_image(conn, name=None, description=None, image_location=None, architecture=None, kernel_id=None, ramdisk_id=None, root_device_name=None, block_device_map=None)
Register an image.
source code
Variables [hide private]
  __package__ = 'starcluster'
Function Details [hide private]

register_image(conn, name=None, description=None, image_location=None, architecture=None, kernel_id=None, ramdisk_id=None, root_device_name=None, block_device_map=None)

source code 

Register an image.

:type name: string :param name: The name of the AMI. Valid only for EBS-based images.

:type description: string :param description: The description of the AMI.

:type image_location: string :param image_location: Full path to your AMI manifest in Amazon S3 storage. Only used for S3-based AMI's.

:type architecture: string :param architecture: The architecture of the AMI. Valid choices are: i386 | x86_64

:type kernel_id: string :param kernel_id: The ID of the kernel with which to launch the instances

:type root_device_name: string :param root_device_name: The root device name (e.g. /dev/sdh)

:type block_device_map: :class:`boto.ec2.blockdevicemapping.BlockDeviceMapping` :param block_device_map: A BlockDeviceMapping data structure describing the EBS volumes associated with the Image.

:rtype: string :return: The new image id