netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 iproute2-next 0/5] bridge: json and color support
@ 2018-02-20 19:24 Stephen Hemminger
  2018-02-20 19:24 ` [PATCH v2 iproute2-next 1/5] bridge: implement json pretty print flag Stephen Hemminger
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Stephen Hemminger @ 2018-02-20 19:24 UTC (permalink / raw)
  To: netdev; +Cc: Stephen Hemminger

From: Stephen Hemminger <sthemmin@microsoft.com>

This set of patches adds color and full JSON support to bridge command.

The output format for bridge link command changes so that 
  $ bridge link show
and
  $ ip link show
use same basic format.

The "-c" flag to bridge changes from shortened form of "-compressvlan"
to shortened form of "-color".  Once again this is so that ip
and bridge command take similar options.

Lastly the JSON output format changes slightly but this
could not impact any real user, because in several cases
the current format was invalid JSON!

v2
  rebase to updated iproute2-next
  use common pretty flag
  use common print_name_and_link

Stephen Hemminger (5):
  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
  ip: always print interface name in color

 bridge/br_common.h |   4 +-
 bridge/bridge.c    |  16 ++-
 bridge/fdb.c       | 279 ++++++++++++++++-------------------------
 bridge/link.c      | 245 +++++++++++++++++++-----------------
 bridge/mdb.c       | 354 ++++++++++++++++++++++-------------------------------
 bridge/vlan.c      | 279 ++++++++++++++++-------------------------
 include/utils.h    |   2 +-
 ip/ipaddress.c     |   4 +-
 lib/utils.c        |   4 +-
 man/man8/bridge.8  |  15 ++-
 10 files changed, 521 insertions(+), 681 deletions(-)

-- 
2.16.1

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-08-29 19:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-20 19:24 [PATCH v2 iproute2-next 0/5] bridge: json and color support Stephen Hemminger
2018-02-20 19:24 ` [PATCH v2 iproute2-next 1/5] bridge: implement json pretty print flag Stephen Hemminger
2018-02-20 19:24 ` [PATCH v2 iproute2-next 2/5] bridge: colorize output and use JSON print library Stephen Hemminger
2018-07-15  1:41   ` Roopa Prabhu
2018-08-29  1:17     ` Roopa Prabhu
2018-08-29 15:04     ` Stephen Hemminger
2018-02-20 19:24 ` [PATCH v2 iproute2-next 3/5] bridge: add json support for link command Stephen Hemminger
2018-02-20 19:24 ` [PATCH v2 iproute2-next 4/5] bridge: update man page for new color and json changes Stephen Hemminger
2018-02-20 19:24 ` [PATCH v2 iproute2-next 5/5] ip: always print interface name in color Stephen Hemminger
2018-02-21 16:48 ` [PATCH v2 iproute2-next 0/5] bridge: json and color support David Ahern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).