

def list_sizes(self, location=None):
    '\n        Return list of sizes on a provider.\n\n        @inherits: :class:`NodeDriver.list_sizes`\n\n        :return: List of compute node sizes supported by the cloud provider.\n        :rtype:  ``list`` of :class:`OpenNebulaNodeSize`\n        '
    return self._to_sizes(self.connection.request('/instance_type').object)

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/opennebula.py OpenNebula_3_2_NodeDriver.list_sizes/original