Changes between Version 12 and Version 13 of NewDelayNodeNs
- Timestamp:
- Nov 15, 2011 5:53:23 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NewDelayNodeNs
v12 v13 38 38 make-deter-lan receives the arguments in any order e.g you could provide delay parameters before loss one, however, nodelist should be the first. Note that bandwidth parameters have to be preceded by "bw", delay with "delay", and loss with "loss". Also, specifiying delay and loss parameters should be preceded by some keywords e.g mean, std (standard deviation), threshold (loss threshold), and rate. The user only have to provide the nodelist, others are optional, but once she provide any it has to be provided in the correct format.The command is described by: 39 39 {{{ 40 #make-new-lan <nodelist> [bw bandwidth ] [delay type mean [standard variation] ] [loss threshold dropmode rate]41 40 make-deter-lan <nodelist> [bw <bandwidth> ] [delay <type> mean <mean> [std <standard deviation>] ] [loss <dropmode> threshold <threshold> rate <rate>] 42 41 … … 61 60 62 61 #Example 4 63 #make-new-lan "$nodeA $nodeB " bw 1Gb delay static 100ms loss 0.01 static 1 64 make-deter-lan "$nodeA $nodeB " bw 1Gb delay static mean 100ms loss static threshold 0.01 rate 1 62 make-deter-lan "$nodeA $nodeB " bw 1Gb delay static mean 100ms loss static threshold 0.01 rate 1 65 63 Ping from nodeA to nodeB 66 64 67 65 #Example 5 68 #make-new-lan "$nodeA $nodeB " bw 1Gb delay normal 100ms 5 loss 0.01 poisson 569 66 make-deter-lan "$nodeA $nodeB " bw 1Gb delay normal mean 100ms std 5 loss poisson threshold 0.01 rate 5 70 67 Ping from nodeA to nodeB