ip more JSON
Status from this message: applied to iproute2-next.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest12 patches 1 replyApplied
- 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 files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | ipneigh: add color and json supportip/ | +93 | 0 replies | |
| 2/12 | ipaddrlabel: add json supportip/ | +27 | 0 replies | |
| 3/12 | iprule: add json supportip/ | +109 | 0 replies | |
| 4/12 | ipntable: add json supportip/ | +213 | 0 replies | |
| 5/12 | ipnetconf: add JSON supportip/ | +39 | 0 replies | |
| 6/12 | tcp_metrics; make tables constip/ | +4 | 0 replies | |
| 7/12 | tcp_metrics: add json supportip/ | +110 | 0 replies | |
| 8/12 | ipsr: add json supportip/ | +54 | 0 replies | |
| 9/12 | token: support JSONip/ | +15 | 0 replies | |
| 10/12 | tuntap: support JSON outputip/ | +43 | 0 replies | |
| 11/12 | fou: break long linesip/ | +15 | 0 replies | |
| 12/12 | fou: support JSON outputip/ | +23 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
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