On 7/4/24 16:09, [email protected] wrote:
> From: Jakob Meng <[email protected]>
> 
> The 'list-commands' command now supports machine-readable JSON output
> in addition to the plain-text output for humans.
> 
> Reported-at: https://bugzilla.redhat.com/1824861
> Signed-off-by: Jakob Meng <[email protected]>
> ---
>  NEWS                  |  4 ++++
>  lib/unixctl.c         | 44 +++++++++++++++++++++++++++++--------------
>  tests/ovs-vswitchd.at | 15 +++++++++++++++
>  3 files changed, 49 insertions(+), 14 deletions(-)
> 
> diff --git a/NEWS b/NEWS
> index d903d2f74..8c59a4979 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -6,6 +6,10 @@ Post-v3.3.0
>       * Added new option [-f|--format] to choose the output format, e.g. 
> 'json'
>         or 'text' (by default).
>       * Added new option [--pretty] to print JSON output in a readable 
> fashion.
> +     * 'list-commands' now supports output in JSON format.
> +   - Python:
> +     * Added support for different output formats like 'json' to appctl.py 
> and
> +       Python's unixctl classes.

Artifact from rebasing.

Best regards, Ilya Maximets.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to