On Tue, 11 Aug 2015 11:32:05 +0900 IWAMOTO Toshihiro <iwam...@valinux.co.jp> wrote:
> This patchset introduces a new way to generate test packet data, and > the new tests make use of that. > Fixed a python3 issue in the previous patchset. > > IWAMOTO Toshihiro (4): > Add register0 for nicira extensions > test_parser: prepare for tests with packet_data_generator3 > Introduce packet_data_generator3 > test_parser: Add tests generated by packet_data_generator3 > > ryu/ofproto/ofproto_v1_3.py | 1 + > .../of13/ovs-ofctl-of13-action_conjunction.packet | Bin 0 -> 144 bytes > .../of13/ovs-ofctl-of13-action_learn.packet | Bin 0 -> 256 bytes > .../of13/ovs-ofctl-of13-action_resubmit.packet | Bin 0 -> 144 bytes > .../of13/ovs-ofctl-of13-match_conj.packet | Bin 0 -> 96 bytes > .../ovs-ofctl-of13-match_move_nx_register.packet | Bin 0 -> 104 bytes > .../of13/ovs-ofctl-of13-match_pkt_mark.packet | Bin 0 -> 96 bytes > .../ovs-ofctl-of13-match_pkt_mark_masked.packet | Bin 0 -> 96 bytes > ryu/tests/packet_data_generator3/gen.py | 196 > +++++++++++++++++++++ > .../ovs-ofctl-of13-action_conjunction.packet.json | 101 +++++++++++ > .../of13/ovs-ofctl-of13-action_learn.packet.json | 191 ++++++++++++++++++++ > .../ovs-ofctl-of13-action_resubmit.packet.json | 100 +++++++++++ > .../of13/ovs-ofctl-of13-match_conj.packet.json | 61 +++++++ > ...s-ofctl-of13-match_move_nx_register.packet.json | 61 +++++++ > .../of13/ovs-ofctl-of13-match_pkt_mark.packet.json | 61 +++++++ > ...vs-ofctl-of13-match_pkt_mark_masked.packet.json | 61 +++++++ > ryu/tests/unit/ofproto/test_parser.py | 20 ++- > 17 files changed, 850 insertions(+), 3 deletions(-) > create mode 100644 > ryu/tests/packet_data/of13/ovs-ofctl-of13-action_conjunction.packet > create mode 100644 > ryu/tests/packet_data/of13/ovs-ofctl-of13-action_learn.packet > create mode 100644 > ryu/tests/packet_data/of13/ovs-ofctl-of13-action_resubmit.packet > create mode 100644 > ryu/tests/packet_data/of13/ovs-ofctl-of13-match_conj.packet > create mode 100644 > ryu/tests/packet_data/of13/ovs-ofctl-of13-match_move_nx_register.packet > create mode 100644 > ryu/tests/packet_data/of13/ovs-ofctl-of13-match_pkt_mark.packet > create mode 100644 > ryu/tests/packet_data/of13/ovs-ofctl-of13-match_pkt_mark_masked.packet > create mode 100644 ryu/tests/packet_data_generator3/gen.py > create mode 100644 > ryu/tests/unit/ofproto/json/of13/ovs-ofctl-of13-action_conjunction.packet.json > create mode 100644 > ryu/tests/unit/ofproto/json/of13/ovs-ofctl-of13-action_learn.packet.json > create mode 100644 > ryu/tests/unit/ofproto/json/of13/ovs-ofctl-of13-action_resubmit.packet.json > create mode 100644 > ryu/tests/unit/ofproto/json/of13/ovs-ofctl-of13-match_conj.packet.json > create mode 100644 > ryu/tests/unit/ofproto/json/of13/ovs-ofctl-of13-match_move_nx_register.packet.json > create mode 100644 > ryu/tests/unit/ofproto/json/of13/ovs-ofctl-of13-match_pkt_mark.packet.json > create mode 100644 > ryu/tests/unit/ofproto/json/of13/ovs-ofctl-of13-match_pkt_mark_masked.packet.json Applied, thanks! ------------------------------------------------------------------------------ _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel