From 5fcad152b3a13e3d6b14652c965d036463b6eb4d Mon Sep 17 00:00:00 2001 From: Lucas BEE Date: Wed, 3 Aug 2016 22:45:16 +0200 Subject: [PATCH] Update readme with new cli arguments (#9) --- README.md | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 52dd077..0fec612 100644 --- a/README.md +++ b/README.md @@ -8,19 +8,24 @@ ## Usage ``` - -command string - command to be executed (default "ip route") - -gw string - gateway of the network (default will be the default route of the given interface) - -interface string - interface used to get out of the network (default "eth0") - -ip string - IP network from where the command will be executed (default "192.168.1.11/24") - -log-level string - min level of logs to print (default "info") - -mac string - mac address of the interface inside the namespace (default will be a random one) - -ns-path string - path of the temporary namespace to be created (default "/var/run/netns/w000t$PID") - + -command string + command to be executed (default "ip route") + -gw string + gateway of the request (default will be the default route of the given interface) + -interface string + interface used to get out of the network (default "eth0") + -ip string + IP network from where the command will be executed (default "192.168.1.11/24") + -log-level string + min level of logs to print (default "info") + -mac string + mac address of the interface inside the namespace (default will be a random one) + -ns-path string + path of the temporary namespace to be created (default will be /var/run/netns/w000t$PID) + -loss float + loss added on the interface in percentage (default 0) + -jitter uint + jitter added on the interface in ms (default 0) + -latency uint + latency added on the interface in ms (default 0) ```