def addNodeBack(node_set, looper: Looper, node: Node, tconf, tdir) -> TestNode:
    config_helper = PNodeConfigHelper(node.name, tconf, chroot=tdir)
    restartedNode = TestNode(node.name, config_helper=config_helper, config=tconf, ha=node.nodestack.ha, cliha=node.clientstack.ha)
    node_set.append(restartedNode)
    looper.add(restartedNode)
    return restartedNode
def addNodeBack(node_set, looper: Looper, node: Node, tconf, tdir) -> TestNode:
    config_helper = PNodeConfigHelper(node.name, tconf, chroot=tdir)
    restartedNode = TestNode(node.name, config_helper=config_helper, config=tconf, ha=node.nodestack.ha, cliha=node.clientstack.ha)
    node_set.append(restartedNode)
    looper.add(restartedNode)
    return restartedNode