On Wed, 11 Feb 2015 16:22:20 -0800 Shu Shen <[email protected]> wrote:
> Work done: > - The baseline is copied over from ofproto_v1_4.py and > ofproto_v1_4_parser.py and into ofproto_v1_5.py and > ofproto_v1_5_parser.py respectively. > - Most of structs, enums, and pack strings in ofproto_v1_5.py has been > updated to spec. Exception is oxs_fields has not been done yet. > - ofproto_v1_5_parser.py has not been updated except those necessary to > allow run_tests.sh to complete successfully > - ofproto_protocol.py imports ofproto_v1_5 and ofproto_v1_5_parser now > - oxm_fields.py is updated for OFPXMC_PACKET_REGS > - Tests are updated to include Openflow v1.5 when it's obvious. But not > much work has been done to acutally test v1.5 yet. I also found tests > for v1.4 are scarce. Thanks a lot! There are still lots of things but I've applied this. That's easier for other developers who are interested in this work. > TODO: > - Add oxs_fields support. It shall be similar to oxm_fields > - Update and implement ofproto_v1_5_parser.py Any item that you are working on now? > - More tests, tests, tests. I think that our main test for OF is: https://github.com/osrg/ryu/tree/master/ryu/tests/packet_data_generator/src We gererate OpenFlow message wire format data from LINC switch code and then check out if our code can parse them and generate them again. Looks like LINC OF1.5 support is behind OVS. Seems that nowadays OVS developers try hard to support the latest OF spec. Maybe it's the time for us to use OVS code to generate OF message data. > Signed-off-by: Shu Shen <[email protected]> > --- > ryu/ofproto/ofproto_protocol.py | 3 + > ryu/ofproto/ofproto_v1_5.py | 1798 ++++++++++ > ryu/ofproto/ofproto_v1_5_parser.py | 6083 > ++++++++++++++++++++++++++++++++ > ryu/ofproto/oxm_fields.py | 5 + > ryu/tests/switch/tester.py | 10 +- > ryu/tests/unit/ofproto/test_ofproto.py | 5 + > ryu/tests/unit/ofproto/test_parser.py | 31 + > 7 files changed, 7932 insertions(+), 3 deletions(-) > create mode 100644 ryu/ofproto/ofproto_v1_5.py > create mode 100644 ryu/ofproto/ofproto_v1_5_parser.py ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
