Skip to content

Commit

Permalink
Update readme with new cli arguments (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
PouuleT authored Aug 3, 2016
1 parent 065164b commit 5fcad15
Showing 1 changed file with 20 additions and 15 deletions.
35 changes: 20 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
```

0 comments on commit 5fcad15

Please sign in to comment.