summaryrefslogtreecommitdiff
path: root/tests/ofp-util.at
Commit message (Collapse)AuthorAgeFilesLines
* util: Avoid trailing white space in hex dumps.Ben Pfaff2017-10-061-9/+9
| | | | | | | | | | | | | ovs_hex_dump() sometimes yields a trailing space in its output. This is annoying for the test infrastructure, since we have to specially mark the trailing white space in Autotest with a "@&t@" marker at the end of the line. This commit gets rid of the trailing white space and the annoying "@&t@" markers. This also gets rid of an occasional trailing hyphen. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Russell Bryant <russell@ovn.org>
* ofp-util: Fix parsing of parenthesized values within key-value pairs.Ben Pfaff2016-06-141-0/+43
| | | | | | Reported-by: james hopper <jameshopper@email.com> Reported-at: http://openvswitch.org/pipermail/discuss/2016-June/021662.html Signed-off-by: Ben Pfaff <blp@ovn.org>
* ofp-print: Enable printing OF1.4 versionAlexandru Copot2014-05-011-1/+1
| | | | | | | | | Also fix some tests that can now properly print packets with the new protocol version. Signed-off-by: Alexandru Copot <alex.mihai.c@gmail.com> Cc: Daniel Baluta <dbaluta@ixiacom.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* Initial OpenFlow 1.3 supportJarno Rajahalme2012-11-271-1/+6
| | | | | | | | | | | | | Initial OpenFlow 1.3 support with new include/openflow/openflow-1.3.h. Most of the messages that differ from 1.2 are implemented. OFPT_SET_ASYNC is implemented via NX_SET_ASYNC_CONFIG, other new message types are yet to be implemented. Stats replies that add duration fields are implemented at encode/decode level only. Test cases for implemented features are included. Remaining FIXME:s should not cause runtime aborts. Make check comes out clean. Signed-off-by: Jarno Rajahalme <jarno.rajahalme@nsn.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* tests: Add tests for encoding and decoding OpenFlow hello messages.Ben Pfaff2012-11-091-0/+47
These tests helped me find the problems that I fixed in previous commits. Signed-off-by: Ben Pfaff <blp@nicira.com>