faucetsdn / ryu

Ryu component-based software defined networking framework

Home Page:https://ryu-sdn.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using ryu/ofproto/ofproto_v1_5_parser.py in OpenFlow 1.3 application

paaguti opened this issue · comments

I'm tryig to use the ping responder application from the ryu book @
https://osrg.github.io/ryu-book/en/html/packet_lib.html#application-examples

During the tests I get the following exception:

  File "/home/student/.local/lib/python3.8/site-packages/ryu/ofproto/ofproto_v1_5_parser.py", line 5137, in __init__
    assert 'in_port' in match
TypeError: argument of type 'NoneType' is not iterable

Why is the OpenFlow15 parser used in an OpenFlow13 application?