Changes between Version 12 and Version 13 of NewDelayNodeNs


Ignore:
Timestamp:
Nov 15, 2011 5:53:23 PM (12 years ago)
Author:
alwabel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NewDelayNodeNs

    v12 v13  
    3838make-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:
    3939{{{
    40         #make-new-lan <nodelist> [bw bandwidth ] [delay type mean [standard variation] ] [loss threshold dropmode rate]
    4140        make-deter-lan <nodelist> [bw <bandwidth> ] [delay <type> mean <mean> [std <standard deviation>] ] [loss <dropmode> threshold <threshold> rate <rate>] 
    4241
     
    6160
    6261        #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
    6563        Ping from nodeA to nodeB
    6664
    6765        #Example 5
    68         #make-new-lan "$nodeA $nodeB " bw 1Gb delay normal 100ms 5 loss 0.01 poisson 5
    6966        make-deter-lan "$nodeA $nodeB " bw 1Gb delay normal mean 100ms std 5 loss poisson threshold 0.01 rate 5
    7067        Ping from nodeA to nodeB