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).
“Convert an instance id to uuid.
Get the corresponding UUID for the given ec2-id.
Get the corresponding UUID for the given ec2-id.
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]).
Get or create an ec2 instance ID (i-[base 16 number]) from uuid.
Get or create an ec2 volume ID (vol-[base 16 number]) from uuid.
Get or create an ec2 volume ID (vol-[base 16 number]) from uuid.
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
Checks the timestamp or expiry time included in an EC2 request and returns true if the request is expired