Commit Graph

3 Commits

Author SHA1 Message Date
Alessandro Puccetti
f2c2ce9d33 plugins/traffic-control/docker: integrate loopIteration() into Start()
Move `loopIteration()` code in an anonymous function inside `Start()`.
2016-09-09 13:57:21 +02:00
Alessandro Puccetti
71f9d8874f plugins/traffic-control: Some style fixes
Comment before exported functions.
When `if` block ends with a return statement, drop the else and outdent its block.
2016-09-09 12:31:53 +02:00
Krzesimir Nowak
c5cc9814fe Add an example traffic control plugin
As it is an initial implementation, it only controls latency of the
outgoing (egress) traffic. There is also a TODO to turn this plugin
into something more serious. Also, at some point we may consider
moving this plugin outside of "example" directory.
2016-09-06 11:53:35 +02:00