aboutsummaryrefslogtreecommitdiff
path: root/lib/automake.mk
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2012-07-03 22:17:14 -0700
committerBen Pfaff <blp@nicira.com>2012-07-03 22:21:11 -0700
commitf25d0cf3c366d92042269a4f787f19c741c2530c (patch)
tree82f6a2973471c4adfcd13cf2bbc8adf8c31b0aba /lib/automake.mk
parent690a61c50a4744603be2ee3de8e22c97f9140d94 (diff)
Introduce ofpacts, an abstraction of OpenFlow actions.
OpenFlow actions have always been somewhat awkward to handle. Moreover, over time we've started creating actions that require more complicated parsing. When we maintain those actions internally in their wire format, we end up parsing them multiple times, whenever we have to look at the set of actions. When we add support for OpenFlow 1.1 or later protocols, the situation will get worse, because these newer protocols support many of the same actions but with different representations. It becomes unrealistic to handle each protocol in its wire format. This commit adopts a new strategy, by converting OpenFlow actions into an internal form from the wire format when they are read, and converting them back to the wire format when flows are dumped. I believe that this will be more maintainable over time. Thanks to Simon Horman and Pravin Shelar for reviews. Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/automake.mk')
-rw-r--r--lib/automake.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/automake.mk b/lib/automake.mk
index feac1d45..de4ec031 100644
--- a/lib/automake.mk
+++ b/lib/automake.mk
@@ -96,6 +96,8 @@ lib_libopenvswitch_a_SOURCES = \
lib/nx-match.h \
lib/odp-util.c \
lib/odp-util.h \
+ lib/ofp-actions.c \
+ lib/ofp-actions.h \
lib/ofp-errors.c \
lib/ofp-errors.h \
lib/ofp-parse.c \