[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <84bb9f7f-0785-78a4-9f4d-e88cf04e5d21@gmail.com>
Date: Wed, 13 Jun 2018 21:47:08 -0600
From: David Ahern <dsahern@...il.com>
To: Hoang Le <hoang.h.le@...tech.com.au>, netdev@...r.kernel.org,
tipc-discussion@...ts.sourceforge.net
Subject: Re: [iproute2-next v3 1/2] tipc: JSON support for showing nametable
On 6/11/18 8:32 PM, Hoang Le wrote:
> Add json output support for nametable show
>
> Example output:
> $tipc -j -p nametable show
>
> [ {
> "type": 0,
> "lower": 16781313,
> "upper": 16781313,
> "scope": "zone",
> "port": 0,
> "node": ""
> },{
> "type": 0,
> "lower": 16781416,
> "upper": 16781416,
> "scope": "cluster",
> "port": 0,
> "node": ""
> } ]
>
> v2:
> Replace variable 'json_flag' by 'json' declared in include/utils.h
> Add new parameter '-pretty' to support pretty output
>
> v3:
> Update manual page
>
> Acked-by: Jon Maloy <jon.maloy@...csson.com>
> Signed-off-by: Hoang Le <hoang.h.le@...tech.com.au>
> ---
> man/man8/tipc-nametable.8 | 10 ++++++++++
> man/man8/tipc.8 | 9 +++++++++
> tipc/nametable.c | 31 ++++++++++++++++++++++---------
> tipc/tipc.c | 20 +++++++++++++++++++-
> 4 files changed, 60 insertions(+), 10 deletions(-)
>
applied to iproute2-next. Thanks
Powered by blists - more mailing lists