On Fri, 29 Aug 2014 11:38:23 +0000
MARIA VICTORIA ALVAREZ SIERRA <[email protected]> 
wrote:

> I have problems adding flows. I add new flows as follows:
> 
> curl -d '{"dpid": "10002c59e55e2b00", "match": {"in_port": "00000001"}, 
> "actions": [{"type": "OUTPUT", "port": "00000002"}]}' 
> http://localhost:8080/stats/flowentry/add

You need '-x POST' option like:

curl -X POST -d '{"dpid": "60241534280770", "match": {"in_port": "1"},
"actions": [{"type": "OUTPUT", "port": "2"}]}' 
http://localhost:8080/stats/flowentry/add

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to