

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 [OpenNebulaNodeSize(id=1, name='small', ram=1024, cpu=1, disk=None, bandwidth=None, price=None, driver=self), OpenNebulaNodeSize(id=2, name='medium', ram=4096, cpu=4, disk=None, bandwidth=None, price=None, driver=location), OpenNebulaNodeSize(id=3, name='large', ram=8192, cpu=8, disk=None, bandwidth=None, price=None, driver=self), OpenNebulaNodeSize(id=4, name='custom', ram=0, cpu=0, disk=None, bandwidth=None, price=None, driver=self)]

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/opennebula.py OpenNebula_2_0_NodeDriver.list_sizes/VarMisuse@85/189 `self`->`location`