[ovs-dev] [PATCH ovn v3 0/5] Implement matching expressions for OVN.
Ben Pfaff
blp at nicira.com
Wed Apr 1 04:52:32 UTC 2015
The syntax of matching expressions supported here is documented in ovn(5),
which I've made available (along with the rest of the OVS docs for this
branch) at http://benpfaff.org/~blp/dist-docs, e.g. specifically
http://benpfaff.org/~blp/dist-docs/ovn.5.pdf
v1->v2: Drop patch 1 because it was applied. Rebase because there was now
a small patch reject in the original series.
v2->v3: New patch 5 to add basic support for string fields in conversion
to flows. (This patch could optionally be squashed into patch 4.)
Pfaff (5):
lex: New lexical analyzer module for use in OVN.
util: Add more bitwise operations.
meta-flow: Add new functions for subvalues.
expr: New module for Boolean expressions on fields, for use in OVN.
expr: Support string fields in expr_to_matches().
lib/meta-flow.c | 81 +-
lib/meta-flow.h | 13 +
lib/util.c | 139 ++-
lib/util.h | 8 +-
ovn/TODO | 30 -
ovn/automake.mk | 3 +
ovn/expr.c | 2376 ++++++++++++++++++++++++++++++++++++++++++++++++++++
ovn/expr.h | 369 ++++++++
ovn/lex.c | 697 +++++++++++++++
ovn/lex.h | 109 +++
ovn/ovn.xml | 355 +++++---
tests/automake.mk | 6 +-
tests/ovn.at | 348 ++++++++
tests/test-ovn.c | 1294 ++++++++++++++++++++++++++++
tests/testsuite.at | 1 +
15 files changed, 5688 insertions(+), 141 deletions(-)
create mode 100644 ovn/expr.c
create mode 100644 ovn/expr.h
create mode 100644 ovn/lex.c
create mode 100644 ovn/lex.h
create mode 100644 tests/ovn.at
create mode 100644 tests/test-ovn.c
--
2.1.3
More information about the dev
mailing list