

def list_images(self, location=None):
    "\n        List images available\n\n        Note:  Currently only returns the default 'base OS images'\n               provided by DimensionData. Customer images (snapshots)\n               are not yet supported.\n\n        :keyword ex_location: Filters the node list to nodes that are\n                              located in this location\n        :type    ex_location: :class:`NodeLocation` or ``str``\n\n        :return: List of images available\n        :rtype: ``list`` of :class:`NodeImage`\n        "
    params = {
        
    }
    if (location is not None):
        params['datacenterId'] = self._location_to_location_id(location)
    return self._to_images(location.connection.request_with_orgId_api_2('image/osImage', params=params).object)

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py DimensionDataNodeDriver.list_images/VarMisuse@51/222 `self`->`location`