plugins/meta/bandwith: traffic shaping plugin

Add chained plugin to add a tbf qdisc to shape ingress/egress traffic
This commit is contained in:
DennisDenuto
2018-01-07 19:15:17 -08:00
committed by Gabriel Rosenhouse
parent 372bb5e826
commit b78e535055
8 changed files with 1236 additions and 5 deletions

View File

@ -68,7 +68,7 @@ var _ = Describe("Echosvr", func() {
Expect(err).NotTo(HaveOccurred())
defer conn.Close()
fmt.Fprintf(conn, "hello")
fmt.Fprintf(conn, "hello\n")
Expect(ioutil.ReadAll(conn)).To(Equal([]byte("hello")))
})
})