Skip to content

ip more JSON

Stephen Hemminger netdev 2 versions Applied

Status from this message: applied to iproute2-next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest12 patches 1 replyApplied
  2. v17 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- fix output format for ip rule
- break lines more compactly
- add fou, token, tuntap, and sr sub-commands

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/12ipneigh: add color and json supportip/ipneigh.c+93 -470 replies
2/12ipaddrlabel: add json supportip/ipaddrlabel.c+27 -130 replies
3/12iprule: add json supportip/iprule.c+109 -750 replies
4/12ipntable: add json supportip/ipntable.c+213 -1890 replies
5/12ipnetconf: add JSON supportip/ipnetconf.c+39 -300 replies
6/12tcp_metrics; make tables constip/tcp_metrics.c+4 -50 replies
7/12tcp_metrics: add json supportip/tcp_metrics.c+110 -690 replies
8/12ipsr: add json supportip/ipseg6.c+54 -390 replies
9/12token: support JSONip/iptoken.c+15 -30 replies
10/12tuntap: support JSON outputip/iptuntap.c+43 -140 replies
11/12fou: break long linesip/ipfou.c+15 -110 replies
12/12fou: support JSON outputip/ipfou.c+23 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH iproute2-next v2 00/12] ip more JSON

From: Stephen Hemminger <[email protected]>

The ip command implementation of JSON was very spotty. Only address and link were originally implemented. After doing route for next, went ahead and implemented it for a bunch of the other sub commands.

Hopefully will reach full coverage soon.

Stephen Hemminger (12):
ipneigh: add color and json support
ipaddrlabel: add json support
iprule: add json support
ipntable: add json support
ipnetconf: add JSON support
tcp_metrics; make tables const
tcp_metrics: add json support
ipsr: add json support
token: support JSON
tuntap: support JSON output
fou: break long lines
fou: support JSON output

v2:
- fix output format for ip rule
- break lines more compactly
- add fou, token, tuntap, and sr sub-commands

 ip/ipaddrlabel.c |  40 ++++--
 ip/ipfou.c       |  56 +++++---
 ip/ipneigh.c     | 140 ++++++++++++-------
 ip/ipnetconf.c   |  69 +++++-----
 ip/ipntable.c    | 402 +++++++++++++++++++++++++++++--------------------------
 ip/iprule.c      | 184 ++++++++++++++-----------
 ip/ipseg6.c      |  93 +++++++------
 ip/iptoken.c     |  18 ++-
 ip/iptuntap.c    |  57 ++++++--
 ip/tcp_metrics.c | 188 ++++++++++++++++----------
 10 files changed, 744 insertions(+), 503 deletions(-)
Signature · 1 line
2.16.1