def canonicalize_node_size(node):
    """
    Given a node description from the GCE API returns the canonical cloudless
    format.
    """
    return {'type': node.name, 'memory': int(node.ram * 1000 * 1000),
        'cpus': float(node.extra['guestCpus']), 'storage': node.disk * 1024,
        'location': node.extra['zone'].name}
