Liking cljdoc? Tell your friends :D

jepsen.net

Controls network manipulation.

TODO: break this up into jepsen.net.proto (polymorphism) and jepsen.net (wrapper fns, default args, etc)

Controls network manipulation.

TODO: break this up into jepsen.net.proto (polymorphism) and jepsen.net
(wrapper fns, default args, etc)
raw docstring

drop-all!clj

(drop-all! test grudge)

Takes a test and a grudge: a map of nodes to collections of nodes they should drop messages from, and makes those changes to the test's network.

Takes a test and a grudge: a map of nodes to collections of nodes they
should drop messages from, and makes those changes to the test's network.
raw docstring

ipfilterclj

IPFilter rules

IPFilter rules
raw docstring

iptablesclj

Default iptables (assumes we control everything).

Default iptables (assumes we control everything).
raw docstring

Netcljprotocol

drop!clj

(drop! net test src dest)

Drop traffic between nodes src and dest.

Drop traffic between nodes src and dest.

fast!clj

(fast! net test)

Removes packet loss and delays.

Removes packet loss and delays.

flaky!clj

(flaky! net test)
(flaky! net test opts)

Introduces randomized packet loss with options:

:lossiness (as a percentage)

Introduces randomized packet loss with options:

:lossiness   (as a percentage)

heal!clj

(heal! net test)

End all traffic drops and restores network to fast operation.

End all traffic drops and restores network to fast operation.

slow!clj

(slow! net test)
(slow! net test opts)

Delays network packets with options:

:mean (in ms) :variance (in ms) :distribution (e.g. :normal)

Delays network packets with options:

:mean         (in ms)
:variance     (in ms)
:distribution (e.g. :normal)

noopclj

Does nothing.

Does nothing.
raw docstring

tcclj

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close