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

Reply via email to