Re: [PATCH iproute2-next] tc: q_netem: JSON-ify the output

2019-06-21 Thread David Ahern
On 6/14/19 11:28 AM, Jakub Kicinski wrote: > Add JSON output support to q_netem. > > The normal output is untouched. > > In JSON output always use seconds as the base of time units, > and non-percentage numbers (0.01 instead of 1%). Try to always > report the fields, even if they are zero. > All

[PATCH iproute2-next] tc: q_netem: JSON-ify the output

2019-06-14 Thread Jakub Kicinski
Add JSON output support to q_netem. The normal output is untouched. In JSON output always use seconds as the base of time units, and non-percentage numbers (0.01 instead of 1%). Try to always report the fields, even if they are zero. All this should make the output more machine-friendly. Signed-