The exciting part is the final commit. I recommend reading the documentation for the new program.
Also available at https://github.com/blp/ovs-reviews/tree/ovnacts v1->v2: First 9 commits applied. Rebased. Ben Pfaff (21): smap: New function smap_get_def(). smap: New function smap_get_ullong(). expr: Fine-tune parser error message for common typo. expr: Tolerate having no macros. expr: Refine handling of error parameter to expr_annotate(). expr: Initialize 'relop' of allocated exprs in crush_and_string(). expr: Track writability as part of expr_symbol. expr: Give a subfield a direct pointer to its parent in struct expr_symbol. logical-fields: Get rid of MFF_LOG_REGS in favor of something sensible. lflow: Correct register definitions to use subfields for overlaps. ovn: Use a common symbol table for ovn-controller and test-ovn. logical-fields: Beautify conntrack definitions. meta-flow: Add ovs_be128 member to union mf_subvalue. ovn: Rewrite logical action parsing and encoding library. ovn-util: Add common functions for the default NB and SB databases. lex: Integrate error handling into struct lexer. meta-flow: New functions mf_subfield_copy() and mf_subfield_swap(). ovn-northd: Copy name in logical datapath southbound representations. expr: New function expr_evaluate(). expr: New function expr_parse_microflow(). ovn-trace: New utility. include/openvswitch/meta-flow.h | 15 + include/ovn/actions.h | 304 +++- include/ovn/expr.h | 96 +- include/ovn/lex.h | 12 + lib/automake.mk | 1 + lib/bfd.c | 60 +- lib/daemon.xml | 121 ++ lib/meta-flow.c | 74 + lib/netdev-dpdk.c | 16 +- lib/netdev-linux.c | 89 +- lib/nx-match.c | 31 - lib/nx-match.h | 2 - lib/smap.c | 36 +- lib/smap.h | 6 +- ofproto/ofproto-dpif-xlate.c | 3 +- ovn/controller-vtep/ovn-controller-vtep.c | 5 +- ovn/controller/chassis.c | 7 +- ovn/controller/encaps.c | 5 +- ovn/controller/lflow.c | 174 +-- ovn/controller/ovn-controller.c | 6 +- ovn/controller/physical.c | 6 +- ovn/lib/actions.c | 2202 ++++++++++++++++++----------- ovn/lib/automake.mk | 1 + ovn/lib/expr.c | 977 +++++++------ ovn/lib/lex.c | 109 ++ ovn/lib/logical-fields.c | 198 +++ ovn/lib/logical-fields.h | 19 +- ovn/lib/ovn-util.c | 27 + ovn/lib/ovn-util.h | 4 + ovn/northd/ovn-northd.c | 50 +- ovn/ovn-sb.xml | 13 +- ovn/utilities/automake.mk | 11 +- ovn/utilities/ovn-nbctl.c | 20 +- ovn/utilities/ovn-sbctl.c | 47 +- ovn/utilities/ovn-trace.8.xml | 287 ++++ ovn/utilities/ovn-trace.c | 1429 +++++++++++++++++++ tests/ovn.at | 743 ++++++++-- tests/test-ovn.c | 348 ++--- vswitchd/bridge.c | 162 +-- 39 files changed, 5495 insertions(+), 2221 deletions(-) create mode 100644 lib/daemon.xml create mode 100644 ovn/lib/logical-fields.c create mode 100644 ovn/utilities/ovn-trace.8.xml create mode 100644 ovn/utilities/ovn-trace.c -- 2.1.3 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev