Add the ability to change RED/Queue params in events. At the same
time, support multiple statements in a single at statement (a personal miracle of TCL programming!). So, you can do this: $ns at 40 "$queue0 set thresh_ 5 ; $queue0 set linterm_ 9" $ns at 40 "$queue0 set maxthresh_ 10 ; $queue0 set q_weight_ 0.5" $ns at 40 "$queue0 set queue-in-bytes_ 0" $ns at 40 "$queue0 set limit_ 50" These are turned into LINK MODIFY events as such: QUEUE-IN-BYTES= LIMIT= MAXTHRESH= THRESH= LINTERM= Q_WEIGHT= At present, they are turned into independent events; my TCL ability falls way short of figuring that out! Easy as a perl script though!
Showing with 73 additions and 57 deletions