reduce if else in node.py, keep improving. tsung controller and node exchecg ip mecha. seems ok.