码迷,mamicode.com
首页 > Web开发 > 详细

Mininet 链路可选配置

时间:2018-07-29 15:23:38      阅读:278      评论:0      收藏:0      [点我收藏+]

标签:number   maximum   tag   sse   arc   percent   emulator   bit   git   

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.

Mininet 链路可选配置

标签:number   maximum   tag   sse   arc   percent   emulator   bit   git   

原文地址:https://www.cnblogs.com/ShaneSun/p/9385171.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!