[ovs-git] [openvswitch/ovs] d1fd1e: ovs-dpctl: New --names option to use port names in...

GitHub noreply at github.com
Fri Jun 23 09:17:58 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: d1fd1ea91242c4fbf68c1292559fe0dd6d96d0e3
      https://github.com/openvswitch/ovs/commit/d1fd1ea91242c4fbf68c1292559fe0dd6d96d0e3
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2017-06-23 (Fri, 23 Jun 2017)

  Changed paths:
    M lib/dpctl.c
    M lib/dpctl.h
    M lib/dpctl.man
    M lib/odp-util.c
    M ofproto/ofproto-dpif.c
    M utilities/ovs-dpctl.8.in
    M utilities/ovs-dpctl.c

  Log Message:
  -----------
  ovs-dpctl: New --names option to use port names in flow dumps.

Until now, printing names in "ovs-dpctl dump-flows" was tied to the overall
output verbosity, which in practice meant that to see port names a user had
to see a distracting amount of verbosity.  This decouples names from
verbosity.

I'd like to make showing names the default for interactive usage, but so
far names aren't accepted in input so that would frustrate cut-and-paste,
which is an important use of "ovs-dpctl dump-flows" output.

Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Jan Scheurich <jan.scheurich at ericsson.com>
Tested-by: Jan Scheurich <jan.scheurich at ericsson.com>


  Commit: 0722f34109cc07cdc082b5a04056e075c0331a0a
      https://github.com/openvswitch/ovs/commit/0722f34109cc07cdc082b5a04056e075c0331a0a
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2017-06-23 (Fri, 23 Jun 2017)

  Changed paths:
    M lib/dpctl.c
    M lib/dpif-netdev.c
    M lib/dpif.c
    M lib/odp-util.c
    M lib/odp-util.h
    M ofproto/ofproto-dpif-trace.c
    M ofproto/ofproto-dpif.c
    M tests/test-odp.c

  Log Message:
  -----------
  odp-util: Use port names in output in more places.

Until now, ODP output only showed port names for in_port matches.  This
commit shows them in other places port numbers appear.

Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Jan Scheurich <jan.scheurich at ericsson.com>
Tested-by: Jan Scheurich <jan.scheurich at ericsson.com>


Compare: https://github.com/openvswitch/ovs/compare/9d71ade0cf5b...0722f34109cc


More information about the git mailing list