From: Roopa Prabhu <ro...@cumulusnetworks.com> 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 v3 - no change. resubmitting as requested by stephen 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 -- 1.9.1