From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f195.google.com ([209.85.192.195]:45222 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752200AbeBSDSX (ORCPT ); Sun, 18 Feb 2018 22:18:23 -0500 Received: by mail-pf0-f195.google.com with SMTP id j24so696739pff.12 for ; Sun, 18 Feb 2018 19:18:23 -0800 (PST) From: Stephen Hemminger To: netdev@vger.kernel.org Cc: Stephen Hemminger Subject: [PATCH iproute2-next 0/4] bridge: json and color output Date: Sun, 18 Feb 2018 19:18:14 -0800 Message-Id: <20180219031818.25797-1-stephen@networkplumber.org> Sender: netdev-owner@vger.kernel.org List-ID: This set of patches adds color and full JSON support to bridge command. It also aligns ths output format and command line options to match ip command; this is a change that may impact those using "compress vlan" option or doing screen scraping. The JSON output also changes slightly. But this should not impact any real user, because in several cases the current format was invalid JSON! Stephen Hemminger (4): bridge: implement json pretty print flag bridge: colorize output and use JSON print library bridge: add json support for link command bridge: update man page for new color and json changes bridge/br_common.h | 5 +- bridge/bridge.c | 16 ++- bridge/fdb.c | 279 ++++++++++++++++------------------------- bridge/link.c | 304 +++++++++++++++++++++++++++------------------ bridge/mdb.c | 354 ++++++++++++++++++++++------------------------------- bridge/vlan.c | 280 ++++++++++++++++-------------------------- man/man8/bridge.8 | 15 ++- 7 files changed, 574 insertions(+), 679 deletions(-) -- 2.16.1