mbox series

[ovs-dev,v11,0/6] Add global option to output JSON from ovs-appctl cmds.

Message ID 20240516101939.54900-1-jmeng@redhat.com
Headers show
Series Add global option to output JSON from ovs-appctl cmds. | expand

Message

Jakob Meng May 16, 2024, 10:19 a.m. UTC
From: Jakob Meng <code@jakobmeng.de>

v11 has one tiny change compared to v10 [0]:

* Added a missing newline at the end of utilities/ovs-appctl.c.

[0] https://patchwork.ozlabs.org/project/openvswitch/list/?series=407002&archive=both&state=*

Jakob Meng (6):
  Add global option for JSON output to ovs-appctl.
  python: Add option for JSON output to unixctl classes and appctl.py.
  appctl: Add option '--pretty' for pretty-printing JSON output.
  python: Add option for pretty-printing JSON output to appctl.py.
  vswitchd: Add JSON output for 'list-commands' command.
  ofproto: Add JSON output for 'dpif/show' command.

 Documentation/ref/ovs-appctl.8.rst |  19 +++
 NEWS                               |   9 ++
 lib/unixctl.c                      | 239 ++++++++++++++++++++++-------
 lib/unixctl.h                      |  20 ++-
 lib/util.c                         |   6 +-
 ofproto/ofproto-dpif.c             | 120 +++++++++++++--
 python/ovs/unixctl/client.py       |   5 +-
 python/ovs/unixctl/server.py       |  55 +++++--
 python/ovs/util.py                 |   8 +
 tests/appctl.py                    |  40 ++++-
 tests/ovs-vswitchd.at              |  29 ++++
 tests/pmd.at                       |  23 +++
 tests/unixctl-py.at                |   8 +
 utilities/ovs-appctl.c             | 152 +++++++++++++++---
 14 files changed, 625 insertions(+), 108 deletions(-)