Let’s discuss the significance utilization based on WAF tool in network simulator 3 with the guidance of our research professionals.
Uses of WAF in Ns3
Ns3 projects include the utilization of build system based on Waf and it is considered as one of the new generation python based build systems. Now take a look at the utilization of Waf commands in the ns3 scripts.
- C++ scripts with gdb
- Scripts in a shell
- Python scripts
- C++ scripts
Run Ns3 Script Using Waf
The scripts based on Ns3 are capable to run in both the C++ and python languages. Now, the following commands have to be implemented to run the C++ script using Waf.
cd /home/research/ns-allinone-3.35/ns-3.35
sudo ./waf --run NS3SimulationFile
Consequently, let’s see the process to run python script using Waf through the execution of the below mentioned commands.
cd /home/research/ns-allinone-3.35/ns-3.35
sudo ./waf --pyrun
Simulation/NS3SimulationFile.py
To this end, we hope that we have provided the essential data to know about the utilization of Waf tool in network simulator 3