mpLinkCharacteristics: netem with all network parameters
Seems that when we put a netem command, it "forgets" the current configuration...
This commit is contained in:
parent
2fbd82e212
commit
d6a0334fdc
@ -36,7 +36,8 @@ class MpLinkCharacteristics:
|
||||
cmd = cmd + " tc qdisc change dev " + ifname + " "
|
||||
cmd = cmd + " parent " + MpLinkCharacteristics.tcNetemParent
|
||||
cmd = cmd + " handle " + MpLinkCharacteristics.tcNetemHandle
|
||||
cmd = cmd + " netem " + n.cmd + " && "
|
||||
cmd = cmd + " netem " + n.cmd + "delay " + self.delay
|
||||
cmd = cmd + " rate " + self.bandwidth + "mbit && "
|
||||
cmd = cmd + " true &"
|
||||
return cmd
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user