I have added flow with priority=100 to drop all packets and it is working fine.
Now I want to add another flow with higher priority for 10.0.0.1 to 10.0.0.2 to match and send packets to controller, in short allow the access. when I use below combination on API it throws as error that port "CONTROLLER" isn't acceptable. however when I use physical port number 1, 2 ,3 etc. flows get added. ? $ curl -X POST -d '{ "dpid": 1, "cookie": 1, "cookie_mask": 1, "table_id": 0, "idle_timeout": 30, "hard_timeout": 30, "priority":200 , "flags": 1, "match":{ "nw_src":10:0.0.1", "nw_dst=10.0.0.2" }, "actions":[ { "type":"OUTPORT", "port": "CONTROLLER" } ] }' http://localhost:8080/stats/flowentry/add Thanks Munim
_______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel