Hello Team,
I'm trying to add a flow to flood packets when coming in on a given port. I tried all these options but I always get the same result, packet dropped.

curl -X POST -d '{"dpid": "1","match": {"in_port":"1"}, "hard_timeout": "0", "idle_timeout": "0", "actions": [{"type": "OFPP_FLOOD"}]}' http://argenta2:8080/stats/flowentry/add

curl -X POST -d '{"dpid": "1","match": {"in_port":"1"}, "hard_timeout": "0", "idle_timeout": "0", "actions": [{"type": "ALL"}]}' http://argenta2:8080/stats/flowentry/add

curl -X POST -d '{"dpid": "1","match": {"in_port":"1"}, "hard_timeout": "0", "idle_timeout": "0", "actions": [{"type": "OFPP_ALL"}]}' http://argenta2:8080/stats/flowentry/add

The resulting flow is always:

{
            "actions": [],        --> DROP
            "idle_timeout": 0,
            "cookie": 0,
            "packet_count": 0,
            "hard_timeout": 0,
            "byte_count": 0,
            "length": 64,
            "duration_nsec": 29000000,
            "priority": 0,
            "duration_sec": 12,
            "table_id": 0,
            "flags": 0,
            "match": {
                "in_port": 1
            }
        }

What could be wrong? I'm testing with fresh copy from ryu repo and mininet, OFv1.3:

ryu-manager --verbose --observe-links ~/ryu/ryu/app/gui_topology/gui_topology.py


If I add flows for specific output ports I get the desired result, I just can not get to find what is the right syntax for flooding.

Thanks,

Pablo.
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to