deb-ryu/ryu
IWASE Yusuke 1bcb23e556 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>
2016-06-01 20:40:17 +09:00
..
app ofctl_rest: Support OpenFlow 1.5 2016-05-13 22:25:56 +09:00
base Typo fixes 2016-02-27 22:07:21 +09:00
cmd python3: import __future__ for just in case 2015-11-13 15:36:51 +09:00
contrib contrib/ovs: Remove embeded ovs, use upstream 2016-03-21 19:28:32 +09:00
controller controller: Add backward compatibility for 6633 port 2016-05-18 16:01:23 +09:00
lib doc: Add PCAP file library reference 2016-06-01 20:40:04 +09:00
ofproto ofproto: Implement OFPFlowMod parser 2016-06-01 20:40:12 +09:00
services Enable filtering the OVSDB schema tables/columns 2016-05-10 05:31:24 +09:00
tests packet_data_generator3: Clear xid into zero 2016-06-01 20:40:17 +09:00
topology topology: Adopt to Python 3 2016-05-13 22:24:53 +09:00
__init__.py Ryu 4.2 2016-05-10 07:45:19 +09:00
cfg.py Adapt to namespace-less oslo 2015-05-19 15:39:27 +09:00
exception.py Switch to Apache 2.0 license 2012-04-06 08:38:45 +09:00
flags.py tester: Support to test OpenFlow1.0 switch 2015-10-28 14:32:02 +09:00
hooks.py Removes unnecessary Windows requirements 2016-04-06 22:33:56 +03:00
log.py 'ConfigParser' is renamed to 'configparser' in Python 3 2015-04-14 05:31:42 +09:00
utils.py utils: fix for temporarily storing the value of sys.path 2016-05-13 22:17:23 +09:00