This patch series enhances the usability of ofproto/trace when a flow hit conntrack actions that involves recirculation. Instead of asking users to run ofproto/trace multiple times to derive the final datapath actions, 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. A new option --ct-next is added for ofproto/trace to customize the next ct_state during the trace.
Yi-Hung Wei (3): conntrack: Move ct_state parsing to lib/conntrack.c ofproto/trace: Add support for tracing conntrack recirculation ofproto/trace: Add --ct-next option to ofproto/trace NEWS | 2 + lib/conntrack.c | 40 +++++++++ lib/conntrack.h | 1 + ofproto/ofproto-dpif-trace.c | 191 +++++++++++++++++++++++++++++++++++++------ ofproto/ofproto-dpif-trace.h | 28 +++++++ ofproto/ofproto-dpif-xlate.c | 24 +++++- ofproto/ofproto-dpif-xlate.h | 4 + ofproto/ofproto-unixctl.man | 54 +++++++++++- ovn/utilities/ovn-trace.c | 30 +------ tests/completion.at | 8 +- tests/ofproto-dpif.at | 66 +++++++++++++-- 11 files changed, 376 insertions(+), 72 deletions(-) -- 2.7.4 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
