[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180219031818.25797-1-stephen@networkplumber.org>
Date: Sun, 18 Feb 2018 19:18:14 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: netdev@...r.kernel.org
Cc: Stephen Hemminger <stephen@...workplumber.org>
Subject: [PATCH iproute2-next 0/4] bridge: json and color output
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
Powered by blists - more mailing lists