kytos-ng / python-openflow

Low level OpenFlow messages parser used by Kytos SDN Platform
https://kytos.io/
MIT License
0 stars 3 forks source link

`pyof` is failing to unpack a certain `OFPT_ERROR` #87

Open viniarck opened 1 year ago

viniarck commented 1 year ago

If the payload mentioned in this issue were to be sent: https://github.com/kytos-ng/flow_manager/issues/159

It's failing to unpack it:

2023-07-26 11:13:54,522 - ERROR [kytos.napps.kytos/of_core] [main.py:333:on_raw_in] (MainThread) UBInt16(2600) is not a valid GenericFailedCode

20230726_111310

pyof an of_core should,t result in this error when trying to unpack it. Good thing that once flow_manager start also validating, then this issue shouldn't happen, but still, it's an underlying issue on pyof too.