Currently, some test cases for test_parser with OpenFlow 1.5 are missing, because the packet data for OpenFlow 1.5 are not present. The followings add the missing packet data and includes some bug fix. With these patches, the coverage of ofproto_v1_5_parser.py are improved from 69% to 87%.
IWASE Yusuke (4): test_parser: Add missing packet data for OFP15 ofproto_v1_5_parser: Fix unresolved structure references ofproto_v1_5_parser: Add missing field in OFPMeterFeaturesStats test_parser: Fix ofp_multipart_type in OFPFlowStatsRequest ryu/ofproto/ofproto_v1_5_parser.py | 8 ++++---- .../of15/libofproto-OFP15-barrier_reply.packet | Bin 0 -> 8 bytes .../packet_data/of15/libofproto-OFP15-desc_reply.packet | Bin 0 -> 1072 bytes .../of15/libofproto-OFP15-desc_request.packet | Bin 0 -> 16 bytes .../of15/libofproto-OFP15-error_msg_experimenter.packet | Bin 0 -> 27 bytes .../of15/libofproto-OFP15-experimenter_reply.packet | Bin 0 -> 40 bytes .../of15/libofproto-OFP15-experimenter_request.packet | Bin 0 -> 32 bytes .../of15/libofproto-OFP15-features_request.packet | Bin 0 -> 8 bytes .../of15/libofproto-OFP15-flow_monitor_reply.packet | Bin 0 -> 96 bytes .../of15/libofproto-OFP15-flow_monitor_request.packet | Bin 0 -> 48 bytes .../of15/libofproto-OFP15-flow_stats_request.packet | Bin 0 -> 56 bytes .../of15/libofproto-OFP15-get_async_reply.packet | Bin 0 -> 160 bytes .../of15/libofproto-OFP15-get_async_request.packet | Bin 0 -> 8 bytes .../of15/libofproto-OFP15-get_config_request.packet | Bin 0 -> 8 bytes .../of15/libofproto-OFP15-group_features_reply.packet | Bin 0 -> 56 bytes .../of15/libofproto-OFP15-group_stats_reply.packet | Bin 0 -> 72 bytes .../of15/libofproto-OFP15-meter_desc_reply.packet | Bin 0 -> 40 bytes .../of15/libofproto-OFP15-meter_desc_request.packet | Bin 0 -> 24 bytes .../of15/libofproto-OFP15-meter_features_reply.packet | Bin 0 -> 40 bytes .../of15/libofproto-OFP15-meter_features_request.packet | Bin 0 -> 16 bytes .../of15/libofproto-OFP15-meter_stats_reply.packet | Bin 0 -> 72 bytes .../of15/libofproto-OFP15-port_desc_reply.packet | Bin 0 -> 256 bytes .../packet_data/of15/libofproto-OFP15-port_mod.packet | Bin 0 -> 120 bytes .../of15/libofproto-OFP15-port_stats_reply.packet | Bin 0 -> 360 bytes .../packet_data/of15/libofproto-OFP15-port_status.packet | Bin 0 -> 184 bytes .../of15/libofproto-OFP15-queue_desc_reply.packet | Bin 0 -> 136 bytes .../of15/libofproto-OFP15-queue_stats_reply.packet | Bin 0 -> 216 bytes .../packet_data/of15/libofproto-OFP15-set_async.packet | Bin 0 -> 160 bytes .../of15/libofproto-OFP15-table_desc_reply.packet | Bin 0 -> 120 bytes .../of15/libofproto-OFP15-table_stats_reply.packet | Bin 0 -> 64 bytes .../of15/libofproto-OFP15-table_stats_request.packet | Bin 0 -> 16 bytes .../of15/libofproto-OFP15-table_status.packet | Bin 0 -> 96 bytes .../of15/libofproto-OFP15-flow_stats_request.packet.json | 2 +- .../libofproto-OFP15-meter_features_reply.packet.json | 1 + 34 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-barrier_reply.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-desc_reply.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-desc_request.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-error_msg_experimenter.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-experimenter_reply.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-experimenter_request.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-features_request.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-flow_monitor_reply.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-flow_monitor_request.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-flow_stats_request.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-get_async_reply.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-get_async_request.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-get_config_request.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-group_features_reply.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-group_stats_reply.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-meter_desc_reply.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-meter_desc_request.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-meter_features_reply.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-meter_features_request.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-meter_stats_reply.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-port_desc_reply.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-port_mod.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-port_stats_reply.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-port_status.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-queue_desc_reply.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-queue_stats_reply.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-set_async.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-table_desc_reply.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-table_stats_reply.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-table_stats_request.packet create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-table_status.packet -- 1.9.1 ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
