

def _to_images(self, object, el_name='osImage'):
    images = []
    locations = self.list_locations()
    for element in object.findall(fixxpath(el_name, TYPES_URN)):
        images.append(self._to_image(element, locations))
    return images

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py DimensionDataNodeDriver._to_images/original