The following patches enable tester.py to test OpenFlow switches with OpenFlow 1.0 and include some improvements for tester.py and ofproto_v1_0_parser.py.
IWASE Yusuke (5): of10: Human readable address field in json Match/Action packet_data: Fix wildcarded match value in OF1.0 tester: Support to test OpenFlow1.0 switch tester: Add test cases for OpenFlow1.0 tester: Reduce pylint warnings ryu/flags.py | 6 +- ryu/ofproto/ofproto_v1_0_parser.py | 50 ++- ryu/tests/packet_data/of10/1-2-ofp_flow_mod.packet | Bin 80 -> 80 bytes ryu/tests/packet_data_generator/src/x1.erl | 2 +- ryu/tests/switch/of10/action/00_OUTPUT.json | 112 +++++++ ryu/tests/switch/of10/action/01_SET_VLAN_VID.json | 139 ++++++++ ryu/tests/switch/of10/action/02_SET_VLAN_PCP.json | 139 ++++++++ ryu/tests/switch/of10/action/03_STRIP_VLAN.json | 130 ++++++++ ryu/tests/switch/of10/action/04_SET_DL_SRC.json | 133 ++++++++ ryu/tests/switch/of10/action/05_SET_DL_DST.json | 133 ++++++++ ryu/tests/switch/of10/action/06_SET_NW_SRC.json | 95 ++++++ ryu/tests/switch/of10/action/07_SET_NW_DST.json | 95 ++++++ .../switch/of10/action/08_SET_NW_TOS_IPv4.json | 95 ++++++ .../switch/of10/action/08_SET_NW_TOS_IPv6.json | 95 ++++++ .../switch/of10/action/09_SET_TP_SRC_IPv4_TCP.json | 97 ++++++ .../switch/of10/action/09_SET_TP_SRC_IPv4_UDP.json | 97 ++++++ .../switch/of10/action/09_SET_TP_SRC_IPv6_TCP.json | 97 ++++++ .../switch/of10/action/09_SET_TP_SRC_IPv6_UDP.json | 97 ++++++ .../switch/of10/action/10_SET_TP_DST_IPv4_TCP.json | 97 ++++++ .../switch/of10/action/10_SET_TP_DST_IPv4_UDP.json | 97 ++++++ .../switch/of10/action/10_SET_TP_DST_IPv6_TCP.json | 97 ++++++ .../switch/of10/action/10_SET_TP_DST_IPv6_UDP.json | 97 ++++++ ryu/tests/switch/of10/match/00_IN_PORT.json | 340 +++++++++++++++++++ ryu/tests/switch/of10/match/01_DL_SRC.json | 340 +++++++++++++++++++ ryu/tests/switch/of10/match/02_DL_DST.json | 340 +++++++++++++++++++ ryu/tests/switch/of10/match/03_DL_VLAN.json | 355 ++++++++++++++++++++ ryu/tests/switch/of10/match/04_DL_VLAN_PCP.json | 364 ++++++++++++++++++++ ryu/tests/switch/of10/match/05_DL_TYPE.json | 340 +++++++++++++++++++ ryu/tests/switch/of10/match/06_NW_TOS_IPv4.json | 242 ++++++++++++++ ryu/tests/switch/of10/match/06_NW_TOS_IPv6.json | 242 ++++++++++++++ ryu/tests/switch/of10/match/07_NW_PROTO_IPv4.json | 242 ++++++++++++++ ryu/tests/switch/of10/match/07_NW_PROTO_IPv6.json | 242 ++++++++++++++ ryu/tests/switch/of10/match/08_NW_SRC.json | 242 ++++++++++++++ ryu/tests/switch/of10/match/08_NW_SRC_Mask.json | 248 ++++++++++++++ ryu/tests/switch/of10/match/09_NW_DST.json | 242 ++++++++++++++ ryu/tests/switch/of10/match/09_NW_DST_Mask.json | 248 ++++++++++++++ .../switch/of10/match/10_TP_SRC_IPv4_TCP.json | 248 ++++++++++++++ .../switch/of10/match/10_TP_SRC_IPv4_UDP.json | 248 ++++++++++++++ .../switch/of10/match/10_TP_SRC_IPv6_TCP.json | 248 ++++++++++++++ .../switch/of10/match/10_TP_SRC_IPv6_UDP.json | 248 ++++++++++++++ .../switch/of10/match/11_TP_DST_IPv4_TCP.json | 248 ++++++++++++++ .../switch/of10/match/11_TP_DST_IPv4_UDP.json | 248 ++++++++++++++ .../switch/of10/match/11_TP_DST_IPv6_TCP.json | 248 ++++++++++++++ .../switch/of10/match/11_TP_DST_IPv6_UDP.json | 248 ++++++++++++++ ryu/tests/switch/tester.py | 366 +++++++++------------ .../ofproto/json/of10/1-2-ofp_flow_mod.packet.json | 8 +- 46 files changed, 8166 insertions(+), 219 deletions(-) create mode 100644 ryu/tests/switch/of10/action/00_OUTPUT.json create mode 100644 ryu/tests/switch/of10/action/01_SET_VLAN_VID.json create mode 100644 ryu/tests/switch/of10/action/02_SET_VLAN_PCP.json create mode 100644 ryu/tests/switch/of10/action/03_STRIP_VLAN.json create mode 100644 ryu/tests/switch/of10/action/04_SET_DL_SRC.json create mode 100644 ryu/tests/switch/of10/action/05_SET_DL_DST.json create mode 100644 ryu/tests/switch/of10/action/06_SET_NW_SRC.json create mode 100644 ryu/tests/switch/of10/action/07_SET_NW_DST.json create mode 100644 ryu/tests/switch/of10/action/08_SET_NW_TOS_IPv4.json create mode 100644 ryu/tests/switch/of10/action/08_SET_NW_TOS_IPv6.json create mode 100644 ryu/tests/switch/of10/action/09_SET_TP_SRC_IPv4_TCP.json create mode 100644 ryu/tests/switch/of10/action/09_SET_TP_SRC_IPv4_UDP.json create mode 100644 ryu/tests/switch/of10/action/09_SET_TP_SRC_IPv6_TCP.json create mode 100644 ryu/tests/switch/of10/action/09_SET_TP_SRC_IPv6_UDP.json create mode 100644 ryu/tests/switch/of10/action/10_SET_TP_DST_IPv4_TCP.json create mode 100644 ryu/tests/switch/of10/action/10_SET_TP_DST_IPv4_UDP.json create mode 100644 ryu/tests/switch/of10/action/10_SET_TP_DST_IPv6_TCP.json create mode 100644 ryu/tests/switch/of10/action/10_SET_TP_DST_IPv6_UDP.json create mode 100644 ryu/tests/switch/of10/match/00_IN_PORT.json create mode 100644 ryu/tests/switch/of10/match/01_DL_SRC.json create mode 100644 ryu/tests/switch/of10/match/02_DL_DST.json create mode 100644 ryu/tests/switch/of10/match/03_DL_VLAN.json create mode 100644 ryu/tests/switch/of10/match/04_DL_VLAN_PCP.json create mode 100644 ryu/tests/switch/of10/match/05_DL_TYPE.json create mode 100644 ryu/tests/switch/of10/match/06_NW_TOS_IPv4.json create mode 100644 ryu/tests/switch/of10/match/06_NW_TOS_IPv6.json create mode 100644 ryu/tests/switch/of10/match/07_NW_PROTO_IPv4.json create mode 100644 ryu/tests/switch/of10/match/07_NW_PROTO_IPv6.json create mode 100644 ryu/tests/switch/of10/match/08_NW_SRC.json create mode 100644 ryu/tests/switch/of10/match/08_NW_SRC_Mask.json create mode 100644 ryu/tests/switch/of10/match/09_NW_DST.json create mode 100644 ryu/tests/switch/of10/match/09_NW_DST_Mask.json create mode 100644 ryu/tests/switch/of10/match/10_TP_SRC_IPv4_TCP.json create mode 100644 ryu/tests/switch/of10/match/10_TP_SRC_IPv4_UDP.json create mode 100644 ryu/tests/switch/of10/match/10_TP_SRC_IPv6_TCP.json create mode 100644 ryu/tests/switch/of10/match/10_TP_SRC_IPv6_UDP.json create mode 100644 ryu/tests/switch/of10/match/11_TP_DST_IPv4_TCP.json create mode 100644 ryu/tests/switch/of10/match/11_TP_DST_IPv4_UDP.json create mode 100644 ryu/tests/switch/of10/match/11_TP_DST_IPv6_TCP.json create mode 100644 ryu/tests/switch/of10/match/11_TP_DST_IPv6_UDP.json -- 1.9.1 ------------------------------------------------------------------------------ _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
