python-openflow
python-openflow copied to clipboard
Low level OpenFlow messages parser used by Kytos SDN Platform
``` $ make -C docs/ default doctest make clean rm -rf pyof.* rm -rf _build/* make dirhtml sphinx-apidoc -o . ../pyof/ -d10 -M -T Creating file ./pyof.rst. Creating file ./pyof.foundation.rst....
Submitting the Asynchronous Request Forward feature from Open Flow Version 1.4.1 Specification.
Issue #581 brought those tests from ~50% to 76%, now we need to get OF1.3 coverage on par with OF1.0 (98%).
length fields are not beeing checked. (pg 50) - "OpenFlow is a simple binary protocol, therefore invalid OpenFlow messages generated by OpenFlow implementations will in general result in the message...
On utils.py we have 'new_message_from_header', 'new_message_from_message_type'. We should discuss where this should be implemented.
We need to double check what is implemented on OF 1.3
I run a few unpack tests of multiple OF v0x04 packets. Most of them result in exceptions, I'll paste here the result of those tests so we can keep track...
When an OFPT_FLOW_MOD is rejected through an OFPT_ERROR, some vendors add the OFPT_FLOW_MOD message as part of the data field in the OFPT_ERROR. Some vendors don't send anything and Brocade...
According to feedback from @viniciusarcanjo, packing/unpacking of those messages must be reviewed. Message sizes may not be correct, default values are not set.