Simulation script to be utilized in SNS3 training. More...
#include "ns3/applications-module.h"
#include "ns3/config-store-module.h"
#include "ns3/core-module.h"
#include "ns3/internet-module.h"
#include "ns3/network-module.h"
#include "ns3/satellite-module.h"
#include "ns3/traffic-module.h"
Go to the source code of this file.
Simulation script to be utilized in SNS3 training.
The script illustrates the simulation script process starting from command line arguments to running the actual simulation.
int main (int argc, char *argv[]) { // Set default attribute values // Parse command-line arguments // Configure the topology; nodes, channels, devices, mobility // Add (Internet) stack to nodes // Configure IP addressing and routing // Add and configure applications // Configure tracing // Run simulation }
execute command -> ./waf –run "sat-training-example --PrintHelp"
Definition in file sat-training-example.cc.