parse multi dot-separated argument into dict. EBS boot uses multi dot-separated arguments like BlockDeviceMapping.1.DeviceName=snap-id Convert the above into {‘block_device_mapping’: {‘1’: {‘device_name’: snap-id}}}
Convert an ec2 ID (i-[base 16 number]) to an instance id (int)
Return a dictionary of IP information for an instance
Convert a glance id to an internal (db) id.
Convert an instance ID (int) to an ec2 ID (i-[base 16 number])
Convert an snapshot ID (int) to an ec2 snapshot ID (snap-[base 16 number])
Convert an volume ID (int) to an ec2 volume ID (vol-[base 16 number])
Convert an internal (db) id to a glance id.
Returns image ec2_id using id and three letter type.
Converts to a three letter image type.
aki, kernel => aki ari, ramdisk => ari anything else => ami