Mininet 链路可选配置

https://github.com/mininet/mininet/wiki/Introduction-to-Mininet

self.addLink( node1, node2, bw=10, delay='5ms', max_queue_size=1000, loss=10, use_htb=True): adds a bidirectional link with bandwidth, delay and loss characteristics, with a maximum queue size of 1000 packets using the Hierarchical Token Bucket rate limiter and netem delay/loss emulator. The parameter bw is expressed as a number in Mbit; delay is expressed as a string with units in place (e.g. '5ms', '100us', '1s'); loss is expressed as a percentage (between 0 and 100); and max_queue_size is expressed in packets.

posted @ 2018-07-29 13:57  ShaneSun  阅读(1013)  评论(0编辑  收藏  举报