summaryrefslogtreecommitdiff
path: root/lib/ofp-parse.c
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2011-07-20 15:07:46 -0700
committerEthan Jackson <ethan@nicira.com>2011-07-22 17:46:48 -0700
commita368bb53d9769ae42042e122775672ac9546e3f9 (patch)
tree4cbb05275c16ffd4ab6d5121eeb78accf0c08b63 /lib/ofp-parse.c
parent04a85497b994b0cb1c702d4ff8b0d2149767ae0e (diff)
downloadopenvswitch-a368bb53d9769ae42042e122775672ac9546e3f9.tar.gz
bundle: New action "bundle_load".
The bundle_load action behaves the same as the bundle action, except instead of outputting, it writes its result to a register.
Diffstat (limited to 'lib/ofp-parse.c')
-rw-r--r--lib/ofp-parse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ofp-parse.c b/lib/ofp-parse.c
index 25056e7f3..58b0da1ea 100644
--- a/lib/ofp-parse.c
+++ b/lib/ofp-parse.c
@@ -507,6 +507,8 @@ str_to_action(char *str, struct ofpbuf *b)
autopath_parse(naa, arg);
} else if (!strcasecmp(act, "bundle")) {
bundle_parse(b, arg);
+ } else if (!strcasecmp(act, "bundle_load")) {
+ bundle_parse_load(b, arg);
} else if (!strcasecmp(act, "output")) {
put_output_action(b, str_to_u32(arg));
} else if (!strcasecmp(act, "enqueue")) {