def list_sizes(self):
        result = self.connection.request('/server/type/cloud/').object
        sizes = []
        for value in result.get('data', []):
            value_id = value.get('id')
            size = NodeSize(id=value_id,
                            name=value.get('friendly_name'),
                            ram=value.get('ram'),
                            disk=value.get('storage'),
                            bandwidth=None,
                            price=self._get_size_price(size_id=str(value_id)),
                            driver=self)
            sizes.append(size)

        return sorted(sizes, key=lambda k: k.price)
Test removing keys even if one of the old nodes needs retries.
dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/nephoscale.py/NephoscaleNodeDriver.list_sizes--crossover with--dataset/ETHPy150Open ganeti/ganeti/test/py/ganeti.backend_unittest.py/TestAddRemoveGenerateNodeSshKey.testRemoveKeySuccessfullyWithRetriesOnOtherNode