def get_id_from_href(href):
    return urlparse.urlsplit("%s" % href).path.split('/')[-1]
Extract image disks from a compute node XML representation.
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/api/openstack/common.py/get_id_from_href--crossover with--dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/opennebula.py/OpenNebulaNodeDriver._extract_images