Guys,

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 adds the flow but flow table shows actions=drop for 
the flow added. Could you guys help me here please ?

$ 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":"CONTROLLER",
            "port": 65535
        }
    ]
 }' 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

Reply via email to