commit | c9fc57d58163896ad8de0833ee4655fbae9a999b | [log] [tgz] |
---|---|---|
author | Rich Lane <rlane@bigswitch.com> | Thu May 16 16:39:12 2013 -0700 |
committer | Rich Lane <rlane@bigswitch.com> | Thu May 16 18:21:38 2013 -0700 |
tree | dbffab0fed33cd9ee90a4c8e8f7a56ee0c65dc5e | |
parent | a0ee636ed3188153748e4ce22306dd6dd3e90e46 [diff] [blame] |
pyloxi: move remaining basic serialization tests to datafiles
diff --git a/test_data/of13/error.data b/test_data/of13/error.data new file mode 100644 index 0000000..fcb0c1c --- /dev/null +++ b/test_data/of13/error.data
@@ -0,0 +1,13 @@ +-- binary +04 01 # version / type +00 0f # length +12 34 56 78 # xid +00 04 # err_type +00 08 # code +61 62 63 # data +-- python +ofp.message.error_msg( + xid=0x12345678, + err_type=ofp.OFPET_BAD_MATCH, + code=ofp.OFPBMC_BAD_MASK, + data="abc")