Changes between Version 11 and Version 12 of NewDelayNodeNs


Ignore:
Timestamp:
Nov 15, 2011 5:48:54 PM (13 years ago)
Author:
alwabel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NewDelayNodeNs

    v11 v12  
    4545{{{
    4646        #Example 1
     47        make-deter-lan "$nodeA $nodeB " bw 1Gb delay static mean 100ms
     48        Ping from nodeA to nodeB
     49       
     50        #Example 2
     51        make-deter-lan "$nodeA $nodeB " bw 1Gb delay normal mean 100ms stv 5
     52        Ping from nodeA to nodeB
     53
     54        #Example 3
     55        make-deter-lan "$nodeA $nodeB " bw 1Gb delay poisson mean 100ms
     56        Ping from nodeA to nodeB
     57
     58        #Example 4
     59        make-deter-lan "$nodeA $nodeB " bw 1Gb delay exponential mean 15ms
     60        Ping from nodeA to nodeB
     61
     62        #Example 4
    4763        #make-new-lan "$nodeA $nodeB " bw 1Gb delay static 100ms loss 0.01 static 1
    4864         make-deter-lan "$nodeA $nodeB " bw 1Gb delay static mean 100ms loss static threshold 0.01 rate 1
    49         #Example 2
     65        Ping from nodeA to nodeB
     66
     67        #Example 5
    5068        #make-new-lan "$nodeA $nodeB " bw 1Gb delay normal 100ms 5 loss 0.01 poisson 5
    5169        make-deter-lan "$nodeA $nodeB " bw 1Gb delay normal mean 100ms std 5 loss poisson threshold 0.01 rate 5
     70        Ping from nodeA to nodeB
     71
    5272}}}
    5373Delay types are : static, normal , poisson and exponential. Note that normal requires standard variation, which is set to zero if not provided.