ofproto: Add simple tests for dumping aggregates and for OpenFlow 1.0.
authorBen Pfaff <blp@nicira.com>
Wed, 1 Jun 2011 00:09:43 +0000 (17:09 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 14 Jun 2011 18:21:52 +0000 (11:21 -0700)
commitc168dcc8f7b87579ac6c6a5d0e133377f41cb9f0
treee8341d3c24a3d553e210139bfb38827b53b5127c
parent5e9d0469fcaa30f4de0209392a1329b4c52d8d63
ofproto: Add simple tests for dumping aggregates and for OpenFlow 1.0.

We had no tests that exercised OFPST_AGGREGATE or NXST_AGGREGATE.  At one
point in development I screwed up aggregate stats badly enough that they
caused an immediate and reproducible segfault, which this simple test would
have caught.

Also, it's best to test everything in both NXM and OpenFlow 1.0 flow
formats, since they have slightly different code.
tests/ofproto.at