Hi

Did you add a group before you add this flow entry ?




--
Yi

2015-05-12 16:39 GMT+08:00 Samuele Redaelli <[email protected]>:

> Hi everybody,
>
> I am new to Ryu and I am encountering problems when I try to add a new
> flow by using the REST APIs. I am using curl trying to install a rule like
> the following:
>
> curl -X POST -d '{
>     "dpid": 0000000000000001,
>     "match":{
>         "dl_dst": "f2:e4:25:aa:d2:03"
>     },
>     "actions":[
>         {
>             "type":"GROUP",
>             "group_id": 5
>         }
>     ]
>  }' http://localhost:8080/stats/flowentry/add
>
> but, although the http servers says "200 ok" I am unable to verify if the
> rule has been installed given that when I execute
>
>  curl -X GET http://localhost:8080/stats/flow/0000000000000001
>
> it appears that the flow table of the switch is empty.
> This problem doesn't happens with all the rule I've tried to install; only
> with certain kind of rules, which I did not recognize, I encounter this
> problem. Sometimes it seems that by adding the rule I overwrite what was
> previously installed.
>
> Can someone help?
>
> Thanks in advance,
>
> SR
> Università degli studi di Milano-Bicocca
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
>


-- 

-----
Yi Tseng (a.k.a Takeshi)
Taiwan National Chiao Tung University
Department of Computer Science
W2CNLab
-----
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to