def get_id_from_href(href):
    return urlparse.urlsplit("%s" % href).path.split('/')[-1]
Return the id or uuid portion of a url.
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/api/openstack/common.py/get_id_from_href