Changes between Version 11 and Version 12 of NewDelayNodeNs
- Timestamp:
- Nov 15, 2011 5:48:54 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NewDelayNodeNs
v11 v12 45 45 {{{ 46 46 #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 47 63 #make-new-lan "$nodeA $nodeB " bw 1Gb delay static 100ms loss 0.01 static 1 48 64 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 50 68 #make-new-lan "$nodeA $nodeB " bw 1Gb delay normal 100ms 5 loss 0.01 poisson 5 51 69 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 52 72 }}} 53 73 Delay types are : static, normal , poisson and exponential. Note that normal requires standard variation, which is set to zero if not provided.