Wed, Jun 22, 2016 at 03:45:50PM CEST, [email protected] wrote: >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.
I'm just curious, what is you use case for this? Apps can use rtnetlink socket directly. > >Anuradha Karuppiah (3): > json_writer: Removed automatic json-object type from the constructor > 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 > >v4 - removed json type from constructor as recommended by stephen > > bridge/br_common.h | 1 + > bridge/bridge.c | 5 +- > bridge/fdb.c | 210 +++++++++++++++++++++++++++++++++--------- > bridge/vlan.c | 109 +++++++++++++++++++--- > lib/json_writer.c | 6 +- > man/man8/bridge.8 | 9 +- > misc/ifstat.c | 7 ++ > misc/nstat.c | 6 ++ > schema/bridge_fdb_schema.json | 62 +++++++++++++ > 9 files changed, 352 insertions(+), 63 deletions(-) > create mode 100644 schema/bridge_fdb_schema.json > >-- >1.9.1 >
