On Wed, Jan 17, 2024 at 01:55:36PM +0100, [email protected] wrote: > From: Jakob Meng <[email protected]> > > Previous commits introduced support different output formats to > ovs-xxx tools and its Python equivalents. However, the commands > were not yet migrated to the updated {unixctl_}command_register() > functions and unixctl_cb_func function type in order to highlight > the API changes only. > > This patch accomplishes this command migration in a single sweep. > It replaces the old functions {unixctl_}command_register() in > lib/unixctl.* and python/ovs/unixctl/__init__.py with their > extended variants featuring the new 'output_fmts' parameter. > All command registrations have been updated to announce what output > formats each commands supports. No new output formats have been > added, i.e. all commands still support OVS_OUTPUT_FMT_TEXT only. > > All command callbacks gained a 'enum ovs_output_fmt fmt OVS_UNUSED' > argument to conform with the updated function type unixctl_cb_func > in lib/unixctl.h. Without any new output formats being added, it is > always ignored for now. > > Reported-at: https://bugzilla.redhat.com/1824861 > Signed-off-by: Jakob Meng <[email protected]>
Recheck-request: github-robot _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
