[ovs-git] [openvswitch/ovs] 8f2cde: ofp-actions: Pretend that OpenFlow 1.0 has instruc...
GitHub
noreply at github.com
Mon Aug 11 19:48:35 UTC 2014
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 8f2cded496c13307eff2d8bd0f01dee389cf6166
https://github.com/openvswitch/ovs/commit/8f2cded496c13307eff2d8bd0f01dee389cf6166
Author: Ben Pfaff <blp at nicira.com>
Date: 2014-08-11 (Mon, 11 Aug 2014)
Changed paths:
M lib/ofp-actions.c
M lib/ofp-actions.h
M lib/ofp-errors.h
M lib/ofp-parse.c
M lib/ofp-util.c
M tests/ofp-actions.at
M utilities/ovs-ofctl.c
Log Message:
-----------
ofp-actions: Pretend that OpenFlow 1.0 has instructions.
This allows callers to be more uniform, because they don't have to pick
out whether they should parse actions or instructions based on the OpenFlow
version in use. It also allows the Write-Metadata instruction emulation
in OpenFlow 1.0 to be treated just as in OpenFlow 1.1 in the sense that
it is allowed in contexts where instructions are allowed in OpenFlow 1.1
and not elsewhere. (The changes in the tests reflect this more accurate
treatment.)
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>
More information about the git
mailing list