Skip to contentSkip to conversation

bridge: json support for fdb and vlan show

PATCH Superseded Roopa Prabhu 1 participant 1 message May 31, 2016

Subsystems (2)

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

v2 cover bridge: json support for fdb and vlan show

From: Roopa Prabhu <[email protected]>

This patch series adds json support for a few bridge show commands. We plan to follow up with json support for additional commands soon.

Anuradha Karuppiah (3):
json_writer: allow base json data type to be array or object
bridge: add json support for bridge fdb show
bridge: add json schema for bridge fdb show

Roopa Prabhu (2):
bridge: add json support for bridge vlan show
bridge: update man page

v2 - change vlan flags to an array as suggested by toshiaki

 bridge/br_common.h            |   1 +
 bridge/bridge.c               |   3 +
 bridge/fdb.c                  | 201 +++++++++++++++++++++++++++++++++---------
 bridge/vlan.c                 |  93 ++++++++++++++++++-
 include/json_writer.h         |   5 +-
 lib/json_writer.c             |  39 +++++++-
 man/man8/bridge.8             |   9 +-
 misc/ifstat.c                 |   6 +-
 misc/lnstat.c                 |   2 +-
 misc/nstat.c                  |   4 +-
 schema/bridge_fdb_schema.json |  62 +++++++++++++
 11 files changed, 365 insertions(+), 60 deletions(-)
 create mode 100644 schema/bridge_fdb_schema.json
Signature · 1 line
1.9.1