def list_nodes(self):
        response = self.connection.request("/virtual_machines.json")
        nodes = []
        for vm in response.object:
            nodes.append(self._to_node(vm["virtual_machine"]))
        return nodes

    #
    # Helper methods
    #
Get all available regions for the EC2 service.
dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/onapp.py/OnAppNodeDriver.list_nodes--crossover with--dataset/ETHPy150Open darcyliu/storyboard/boto/ec2/connection.py/EC2Connection.get_all_regions