mbox series

[iproute2,0/7] bridge vlan output fixes

Message ID 20200427235051.250058-1-bpoirier@cumulusnetworks.com
Headers show
Series bridge vlan output fixes | expand

Message

Benjamin Poirier April 27, 2020, 11:50 p.m. UTC
More fixes for `bridge vlan` and `bridge vlan tunnelshow` normal and JSON
mode output.

Most of the changes are cosmetic except for changes to JSON format (flag
names, no empty lists).

Benjamin Poirier (7):
  bridge: Use the same flag names in input and output
  bridge: Use consistent column names in vlan output
  bridge: Fix typo
  bridge: Fix output with empty vlan lists
  json_print: Return number of characters printed
  bridge: Align output columns
  Replace open-coded instances of print_nl()

 bridge/vlan.c                            | 115 +++++++++++++++--------
 include/json_print.h                     |  24 +++--
 lib/json_print.c                         |  95 ++++++++++++-------
 tc/m_action.c                            |  14 +--
 tc/m_connmark.c                          |   4 +-
 tc/m_ctinfo.c                            |   4 +-
 tc/m_ife.c                               |   4 +-
 tc/m_mpls.c                              |   2 +-
 tc/m_nat.c                               |   4 +-
 tc/m_sample.c                            |   4 +-
 tc/m_skbedit.c                           |   4 +-
 tc/m_tunnel_key.c                        |  16 ++--
 tc/q_taprio.c                            |   8 +-
 tc/tc_util.c                             |   4 +-
 testsuite/tests/bridge/vlan/show.t       |  30 ++++++
 testsuite/tests/bridge/vlan/tunnelshow.t |   2 +-
 16 files changed, 212 insertions(+), 122 deletions(-)
 create mode 100755 testsuite/tests/bridge/vlan/show.t