NS2 is a well established network simulator.It has frontend as TCL script and backend as C++ for speed.The wrapper is written in python and provides an easy way to give inputs to NS2.