def retrieve_compute_policy_id_from_href(href):
    """Extract compute policy id from href.

    :param str href: URI of the compute policy

    :return: compute policy id

    :rtype: str
    """
    return href.split('/')[-1]
