[ovs-dev] [CudaMailTagged] [PATCH 0/2] Add color output to `ovs-ofctl dump-flows` command

Quentin Monnet quentin.monnet at 6wind.com
Tue Feb 2 08:31:22 UTC 2016


2016-02-01 18:14 GMT+01:00 Ben Pfaff <blp at ovn.org>:

> On Mon, Feb 01, 2016 at 04:40:44PM -0800, Quentin Monnet wrote:
> > Proposal: add an option to ovs-ofctl utility so as to obtain colorized
> output
> > in tty, for easier reading. Currently, only the dump-flows command
> supports
> > colors.
> >
> > A new `--color` option has been added to ovs-ofctl so as to indicate
> > whether color markers should be used or not. It can be set to `always`
> > (force colors), `never` (no colors) or `auto` (use colors only if output
> > is a tty). If provided without any value, it is the same as `auto`. If
> > the option is not provided at all, colors are disabled by default.
> >
> > Quentin Monnet (2):
> >   ovs-ofctl: add color output to dump-flows command
> >   ovs-ofctl: complete color output for dump-flows command
>
> I don't see the actual patches.
>

Hi Ben, hi all,
Indeed the emailed patches lost their way. I have just sent them again.

Please note that a screenshot of a sample colorized output obtained with
the patches is available at
https://github.com/6WIND/ovs/blob/colors/README-colors.md.

Best regards,
Quentin Monnet



More information about the dev mailing list