diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2016-05-30 15:28:20 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-06-01 20:40:17 +0900 |
commit | 1bcb23e5564a1305f7629201db15c9be06badb10 (patch) | |
tree | 1ae6f3e7ffdaa6fd71f7f9ae761cfa40a8c7f57e /LICENSE | |
parent | 709b3ad28fd010b9566efdfb50a87751e901dc2b (diff) |
packet_data_generator3: Clear xid into zero
Because ovs-ofctl increments the xid field automatically, the xid
of the generated packets is set to be 0x02.
So, we should specify {"xid": 2} in json data, but when Ryu dumping
json data from message instance, "xid" are omitted and this causes
assertion error in test_parser.py
This patch enables to clear the xid filed in the generated packets
and solves this problem.
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions