ovs-ofctl: Generalize action and instruction test commands.
authorBen Pfaff <blp@nicira.com>
Thu, 7 Aug 2014 23:03:42 +0000 (16:03 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 11 Aug 2014 20:10:18 +0000 (13:10 -0700)
commit65a8a59e4a38a233702fc90f16258f65f7a3f6e4
tree4c7d9ff28b7b95b024ec6f004abe3b57799fa001
parentc2d936a44fa612e88c743c6e7b367a9813093202
ovs-ofctl: Generalize action and instruction test commands.

Until now, there were four of these commands: parse-ofp10-actions,
parse-ofp10-instructions, parse-ofp11-actions, parse-ofp11-instructions.
This is painful to add support for new OpenFlow versions and has a ton of
cut-and-paste code.  This commit generalizes the code to improve on both
of those points.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
tests/ofp-actions.at
utilities/ovs-ofctl.c