Hi, Please don't drop the mailing list.
I think that "sh" is unnecessary. And there is some error in command.Please correct as follows. curl -d '{"dpid":"1", "priority":4,"actions":[{"type":"OUTPUT","value":3}],"match":{"dl_type":2048,"in_port":4,"nw_dst":"10.0.0.4/24","nw_src":"10.0.0.1/24"}}' http://127.0.0.1:8080/stats/flowentry/add Just for your infomation, the following documents will help you. http://ryu.readthedocs.org/en/latest/app/ofctl_rest.html#description-of-match-and-actions thanks On 2015??04??30?? 22:09, ?????? wrote: > Hi, > I write in the .sh file to install flowtable in the switch like this: > > sh curl -d '{"dpid":"1", "priority":"4", > "actions":[{"type":"OUTPUT","port":3}],"match:{"dl_type":2048,"in_port":4,"nw_dst":10.0.0.4/24,"nw_src":10.0.0.1/24}}'http://127.0.0.1:8080/stats/flowentry/add > > But,the error like this: > sh: 0: Can't open curl > > I am looking forward to you reply! > Thank you ------------------------------------------------------------------------------ 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 Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel