Hi,

On 2015??05??01?? 11:35, ?????? wrote:
> 
> hi,
>  I do like you say,but error like this:
>     curl:  no URL specified.

Do you enter a space before the URL?

NG:
 ":10.0.0.1/24}}'http://127.0.0.1:

OK:
 ":10.0.0.1/24}}' http://127.0.0.1:
                 ^
> 
>  And why "actions":[{"type":"OUTPUT","value":3}],  "value" is used,not "port" 
> ?

Oops!
I am sorry. "port" is correct.

thanks

> 
> I am looking forward to your reply
> Thanks
> 
> ------------------ ???????? ------------------
> *??????:* "Minoru TAKAHASHI";<takahashi.mino...@gmail.com>;
> *????????:* 2015??5??1??(??????) ????8:15
> *??????:* "??????"<406699...@qq.com>;
> *????:* "ryu-devel@lists.sourceforge.net"<ryu-devel@lists.sourceforge.net>;
> *????:* Re: Flow table
> 
> 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

Reply via email to