Return-Path: Received: from mail-pl0-f46.google.com ([209.85.160.46]:35809 "EHLO mail-pl0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752931AbeCFVHX (ORCPT ); Tue, 6 Mar 2018 16:07:23 -0500 Received: by mail-pl0-f46.google.com with SMTP id w22-v6so26535pll.2 for ; Tue, 06 Mar 2018 13:07:23 -0800 (PST) From: Stephen Hemminger To: dsahern@gmail.com Cc: netdev@vger.kernel.org, Stephen Hemminger Subject: [PATCH iproute2-next v2 00/12] ip more JSON Date: Tue, 6 Mar 2018 13:07:08 -0800 Message-Id: <20180306210720.19802-1-stephen@networkplumber.org> Sender: netdev-owner@vger.kernel.org List-ID: From: Stephen Hemminger 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(-) -- 2.16.1