diff options
| author | Ethan Jackson <ethan@nicira.com> | 2011-07-20 15:07:46 -0700 |
|---|---|---|
| committer | Ethan Jackson <ethan@nicira.com> | 2011-07-22 17:46:48 -0700 |
| commit | a368bb53d9769ae42042e122775672ac9546e3f9 (patch) | |
| tree | 4cbb05275c16ffd4ab6d5121eeb78accf0c08b63 /ofproto | |
| parent | 04a85497b994b0cb1c702d4ff8b0d2149767ae0e (diff) | |
| download | openvswitch-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 'ofproto')
| -rw-r--r-- | ofproto/ofproto-dpif.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index c88569cf3..61685b726 100644 --- a/ofproto/ofproto-dpif.c +++ b/ofproto/ofproto-dpif.c @@ -3228,6 +3228,13 @@ do_xlate_actions(const union ofp_action *in, size_t n_in, slave_enabled_cb, ctx->ofproto), 0); break; + + case OFPUTIL_NXAST_BUNDLE_LOAD: + ctx->ofproto->has_bundle_action = true; + nab = (const struct nx_action_bundle *) ia; + bundle_execute_load(nab, &ctx->flow, slave_enabled_cb, + ctx->ofproto); + break; } } } |
