GitHawkApp / GitHawk

The (second) best iOS app for GitHub.
http://githawk.com
MIT License
2.88k stars 385 forks source link

Cannot send Flow Mod Packet in OpenFlow-ryu #2963

Closed TranAnh-Tuan closed 2 years ago

TranAnh-Tuan commented 2 years ago

Describe the bug Hi guys, I am having some problems while preparing and sending Flow Mod Packet to add new flow entry. As you can see in two pictures below, I send two packet : The first one is ARP Reply Packet back to Request Host and the second is Flow Mod Packet to Switch. However, I successfully send the ARP Reply Packet but fail in Flow Mod Packet - it warns that "error: cannot convert argument to integer" 1 2

. Do your guys know how to fix this issue?

TranAnh-Tuan commented 2 years ago

I fix the error. It turns out that when you send Flow Mod Packet you cannot set the priority value to None. Since it need to know exactly the priority of the Flow entry for matching action when Packet comes.