# Vaddina Prakash Rao # Chair of Telecommunications # TU Dresden # USING THE SCRIPT FILE # The file can be edited normally as any text file. Comments should be preceded with a '#'. # The comments should not follow the parameters. # EXAMPLE: # # This is a Comment # 34 # Number of nodes: DO NOT WRITE COMMENTS AS IN HERE # Writing comments as above may not be an error, because this is not exactly a script file, # but the result of 'autosim' may be unpredictable. # The parameters file, is used to read various simulation parameters. # Currently the following scripts and executables are supported. # 1. Traffic Generation with cbrgen.tcl # 2. Determine the ns-path # 3. Number of simulations with the current settings. # # Every section in this file should have a header followed by its # parameters. The headers are mandatory and cannot be renamed. Every # individual parameter should be presented in a new line. The number of # parameters that follow is dependant on the subsection and is guided by # the program 'autosim'. Adding additional parameters without support # from the 'autosim' program makes them redundant. Hence its not an error # to represent them here in the file. # Section to extract the ns-path. The path to the NS executable should follow the header. ns_path /root/ns-2/ns-allinone-2.28/ns-2.28/ns # Section to show how many times the simulation will run # REDUNDANT: NO LONGER USED, YET SHOULD REMAIN HERE. IT REMAINS ONLY TO BE COMPATIBILE TO UNMODIFIED CODE IN THE AUTOSIM PROGRAM. num_of_simulations 30 # Number of simulations to be performed. Make some room for segmentation # fault results to be deleted from analysis. max_simulations 30 # Each simulation is run as a function of some variable. Datarate in this case. # The variable is changed the indicated number of times. num_of_points 30 # Section to generate traffic using the script, cbrgen.tcl. # The last parameter is the name of the file where # the output of the script file is directed. # NOTE: The datarate should not be mentioned. cbrgen -type cbr -nn 15 -mc 8 -starttime 60.0 -timegap 5.0 -rate_incr 0.4 -num_incr 8 # Section to generate required traffic scripts based on the traffic rates. datarates 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 3.0