@@ -30,11 +30,11 @@ This is an example of what we could find in that config file:
3030
3131```
3232sh-4.4$ cat /usr/local/bin/example-cnf/run/grout.init
33- add interface port p0 devargs 0000:86:02.1 rxqs 2
34- add interface port p1 devargs 0000:86:03.3 rxqs 2
33+ interface add port p0 devargs 0000:86:02.1 rxqs 2
34+ interface add port p1 devargs 0000:86:03.3 rxqs 2
3535
36- add ip address 172.16.16.60/24 iface p0
37- add ip address 172.16.21.60/24 iface p1
36+ address add 172.16.16.60/24 iface p0
37+ address add 172.16.21.60/24 iface p1
3838```
3939
4040The file created by the automation to launch the Grout configuration is saved under ` /usr/local/bin/example-cnf/run/grout.sock ` , and it has the following content:
@@ -52,10 +52,10 @@ For example, we can print statistics in the following way:
5252
5353```
5454# clear statistics
55- $ sudo grcli -s /usr/local/bin/example-cnf/run/grout.sock clear stats
55+ $ sudo grcli -s /usr/local/bin/example-cnf/run/grout.sock stats reset
5656
5757# print statistics
58- $ sudo grcli -s /usr/local/bin/example-cnf/run/grout.sock show stats software
58+ $ sudo grcli -s /usr/local/bin/example-cnf/run/grout.sock stats show software
5959NODE CALLS PACKETS PKTS/CALL CYCLES/CALL CYCLES/PKT
6060port_rx 109805489408 2104 0.0 49.2 2567088141.0
6161control_input 109805489408 39 0.0 22.6 63637321574.4
@@ -91,15 +91,14 @@ Also, you can trace the traffic received by Grout with the following configurati
9191
9292> Note trace should not be used during performance testing, since it impacts performance. Just use it for troubleshooting purposes.
9393
94-
9594```
9695# enter in grout CLI
9796$ grcli -s /usr/local/bin/example-cnf/run/grout.sock
98- grout# set trace all
97+ grout# trace enable all
9998
10099# if you get the latest N traces of traffic managed by Grout, you
101100# will be able to see traffic details.
102- grout# show trace count 50
101+ grout# trace show count 50
103102...
104103--------- 08:25:08.558489191 cpu 2 ---------
105104port_rx: port=0 queue=1
@@ -111,10 +110,10 @@ eth_output: 00:11:22:33:00:02 > 20:04:0f:f1:89:02 type=IP(0x0800) iface=p1
111110port_tx: port=1 queue=1
112111
113112# you can clear the trace in this way
114- grout# clear trace
113+ grout# trace clear
115114
116115# you can remove the trace in this way
117- grout# del trace all
116+ grout# trace disable all
118117```
119118
120119## What to update if bumping container version
0 commit comments