def get_all_old_nodes(self, is_running=None):
        nodes = []
        all_nodes = self.get_all_nodes()
        new_generations = [self.active_gen_id, self.pending_gen_id]
        for node in all_nodes:
            if node.generation_id not in new_generations:
                nodes.append(node)

        nodes.sort(key=lambda n: n.generation_id)

        return nodes
dataset/ETHPy150Open winhamwr/neckbeard/neckbeard/environment_manager.py/Deployment.get_all_old_nodes/original