Re: [ovs-dev] [RFC v3 2/4] python: Add global option for JSON output to Python tools.

2023-10-30 Thread Eelco Chaudron
On 30 Oct 2023, at 11:50, Jakob Meng wrote: > On 27.10.23 15:52, Eelco Chaudron wrote: >> On 25 Oct 2023, at 11:37, jm...@redhat.com wrote: >>> From: Jakob Meng >>> >>> This patch introduces support for different output formats to the >>> Python code, as did the previous commit for ovs-xxx tool

Re: [ovs-dev] [RFC v3 2/4] python: Add global option for JSON output to Python tools.

2023-10-30 Thread Jakob Meng
On 27.10.23 15:52, Eelco Chaudron wrote: > On 25 Oct 2023, at 11:37, jm...@redhat.com wrote: >> From: Jakob Meng >> >> This patch introduces support for different output formats to the >> Python code, as did the previous commit for ovs-xxx tools like >> 'ovs-appctl --format json dpif/show'. >> In

Re: [ovs-dev] [RFC v3 2/4] python: Add global option for JSON output to Python tools.

2023-10-27 Thread Eelco Chaudron
On 25 Oct 2023, at 11:37, jm...@redhat.com wrote: > From: Jakob Meng > > This patch introduces support for different output formats to the > Python code, as did the previous commit for ovs-xxx tools like > 'ovs-appctl --format json dpif/show'. > In particular, tests/appctl.py gains a global op

[ovs-dev] [RFC v3 2/4] python: Add global option for JSON output to Python tools.

2023-10-25 Thread jmeng
From: Jakob Meng This patch introduces support for different output formats to the Python code, as did the previous commit for ovs-xxx tools like 'ovs-appctl --format json dpif/show'. In particular, tests/appctl.py gains a global option '-f,--format' which allows users to request JSON instead of