[ovs-git] [openvswitch/ovs] e6bc8e: ofproto/trace: Add support for tracing conntrack r...

GitHub noreply at github.com
Wed Jul 12 22:46:33 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: e6bc8e749381071341c5d16385641e968642c242
      https://github.com/openvswitch/ovs/commit/e6bc8e749381071341c5d16385641e968642c242
  Author: Yi-Hung Wei <yihung.wei at gmail.com>
  Date:   2017-07-12 (Wed, 12 Jul 2017)

  Changed paths:
    M ofproto/ofproto-dpif-rid.c
    M ofproto/ofproto-dpif-rid.h
    M ofproto/ofproto-dpif-trace.c
    M ofproto/ofproto-dpif-trace.h
    M ofproto/ofproto-dpif-xlate.c
    M ofproto/ofproto-dpif-xlate.h
    M tests/ofproto-dpif.at

  Log Message:
  -----------
  ofproto/trace: Add support for tracing conntrack recirculation

Previously, a user need to run ofproto/trace multiple times to derive the
final datapath actions if a flow hit conntrack actions that involves
recirculation. To improve the usability of ofproto/trace, in this patch,
we keep track of the conntrack actions, and automatically run the
recirculation process so that a user only need to execute the ofproto/trace
command once. Currently, this patch sets the default ct_state as
trk and new in the automatic recirculation process. A following patch
will provide an option to customize ct_state.

Signed-off-by: Yi-Hung Wei <yihung.wei at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


  Commit: 0f2f05bbcf743dc92fc611b7598195bc17302971
      https://github.com/openvswitch/ovs/commit/0f2f05bbcf743dc92fc611b7598195bc17302971
  Author: Yi-Hung Wei <yihung.wei at gmail.com>
  Date:   2017-07-12 (Wed, 12 Jul 2017)

  Changed paths:
    M NEWS
    M ofproto/ofproto-dpif-trace.c
    M ofproto/ofproto-dpif-trace.h
    M ofproto/ofproto-unixctl.man
    M tests/completion.at
    M tests/ofproto-dpif.at

  Log Message:
  -----------
  ofproto/trace: Add --ct-next option to ofproto/trace

Previous patch enables ofproto/trace to automatically trace a flow
that involves multiple recirculation on conntrack. However, it always
sets the ct_state to trk|est when it processes recirculated conntrack flows.
With this patch, users can customize the expected next ct_state in the
aforementioned use case.

Signed-off-by: Yi-Hung Wei <yihung.wei at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/ef241d1e8675...0f2f05bbcf74


More information about the git mailing list