def ec2_snap_id_to_uuid(ec2_id):
 ctxt = context.get_admin_context()
 int_id = ec2_id_to_id(ec2_id)
 return get_snapshot_uuid_from_int_id(ctxt, int_id)

def ec2_snap_id_to_uuid ( ec2_id ) : ctxt = context . get_admin_context ( ) int_id = ec2_id_to_id ( ec2_id ) return get_snapshot_uuid_from_int_id ( ctxt , int_id )
get the corresponding uuid for the given ec2-id .