Skip to content

Commit 5fcad15

Browse files
authored
Update readme with new cli arguments (#9)
1 parent 065164b commit 5fcad15

File tree

1 file changed

+20
-15
lines changed

1 file changed

+20
-15
lines changed

README.md

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,24 @@
88
## Usage
99

1010
```
11-
-command string
12-
command to be executed (default "ip route")
13-
-gw string
14-
gateway of the network (default will be the default route of the given interface)
15-
-interface string
16-
interface used to get out of the network (default "eth0")
17-
-ip string
18-
IP network from where the command will be executed (default "192.168.1.11/24")
19-
-log-level string
20-
min level of logs to print (default "info")
21-
-mac string
22-
mac address of the interface inside the namespace (default will be a random one)
23-
-ns-path string
24-
path of the temporary namespace to be created (default "/var/run/netns/w000t$PID")
25-
11+
-command string
12+
command to be executed (default "ip route")
13+
-gw string
14+
gateway of the request (default will be the default route of the given interface)
15+
-interface string
16+
interface used to get out of the network (default "eth0")
17+
-ip string
18+
IP network from where the command will be executed (default "192.168.1.11/24")
19+
-log-level string
20+
min level of logs to print (default "info")
21+
-mac string
22+
mac address of the interface inside the namespace (default will be a random one)
23+
-ns-path string
24+
path of the temporary namespace to be created (default will be /var/run/netns/w000t$PID)
25+
-loss float
26+
loss added on the interface in percentage (default 0)
27+
-jitter uint
28+
jitter added on the interface in ms (default 0)
29+
-latency uint
30+
latency added on the interface in ms (default 0)
2631
```

0 commit comments

Comments
 (0)