netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2 0/8] bridge vlan tunnelshow fixes
@ 2019-12-16  6:43 Benjamin Poirier
  2019-12-16  6:43 ` [PATCH iproute2 1/8] json_print: Remove declaration without implementation Benjamin Poirier
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Benjamin Poirier @ 2019-12-16  6:43 UTC (permalink / raw)
  To: netdev; +Cc: Roopa Prabhu

Fix various problems in and around normal and json output of `bridge vlan
tunnelshow`.

Can be tested using:
ip link add bridge type bridge

ip link add vxlan0 type vxlan dstport 4789 external
ip link set dev vxlan0 master bridge
ip link set dev vxlan0 type bridge_slave vlan_tunnel on

bridge vlan add dev vxlan0 vid 1000
bridge vlan add dev vxlan0 vid 1000 tunnel_info id 1000
bridge vlan add dev vxlan0 vid 1010-1020
bridge vlan add dev vxlan0 vid 1010-1020 tunnel_info id 1010-1020
bridge vlan add dev vxlan0 vid 1030
bridge vlan add dev vxlan0 vid 1030 tunnel_info id 65556

Benjamin Poirier (8):
  json_print: Remove declaration without implementation
  testsuite: Fix line count test
  bridge: Fix typo in error messages
  bridge: Fix src_vni argument in man page
  bridge: Fix BRIDGE_VLAN_TUNNEL attribute sizes
  bridge: Fix vni printing
  bridge: Deduplicate vlan show functions
  bridge: Fix tunnelshow json output

 bridge/vlan.c                            | 138 ++++++++---------------
 include/json_print.h                     |   2 -
 man/man8/bridge.8                        |   4 +-
 testsuite/Makefile                       |   3 +-
 testsuite/lib/generic.sh                 |   8 +-
 testsuite/tests/bridge/vlan/tunnelshow.t |  33 ++++++
 6 files changed, 88 insertions(+), 100 deletions(-)
 create mode 100755 testsuite/tests/bridge/vlan/tunnelshow.t

-- 
2.24.0


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

end of thread, other threads:[~2019-12-17  4:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-16  6:43 [PATCH iproute2 0/8] bridge vlan tunnelshow fixes Benjamin Poirier
2019-12-16  6:43 ` [PATCH iproute2 1/8] json_print: Remove declaration without implementation Benjamin Poirier
2019-12-16  6:43 ` [PATCH iproute2 2/8] testsuite: Fix line count test Benjamin Poirier
2019-12-16  6:43 ` [PATCH iproute2 3/8] bridge: Fix typo in error messages Benjamin Poirier
2019-12-16  6:43 ` [PATCH iproute2 4/8] bridge: Fix src_vni argument in man page Benjamin Poirier
2019-12-16  6:43 ` [PATCH iproute2 5/8] bridge: Fix BRIDGE_VLAN_TUNNEL attribute sizes Benjamin Poirier
2019-12-16  6:43 ` [PATCH iproute2 6/8] bridge: Fix vni printing Benjamin Poirier
2019-12-16  6:43 ` [PATCH iproute2 7/8] bridge: Deduplicate vlan show functions Benjamin Poirier
2019-12-16  6:43 ` [PATCH iproute2 8/8] bridge: Fix tunnelshow json output Benjamin Poirier
2019-12-17  4:51 ` [PATCH iproute2 0/8] bridge vlan tunnelshow fixes Stephen Hemminger

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).