Re: [Ryu-devel] About ryu rest_qos

2014-11-06 Thread Yusuke Iwase
Hi, On 2014年11月06日 17:10, Yafeng Zhou wrote: > Hi, > > Thank you for you reply, that just a mistake when I send this mail. Actually > I wrote > > > root@ryu-vm:~# curl -X POST -d '{"match": {"nw_dst": "10.0.0.1", "nw_proto": > "UDP", "tp_dst": "5002"}, "actions":{"queue": "1"}}' > http://lo

Re: [Ryu-devel] About ryu rest_qos

2014-11-06 Thread Yafeng Zhou
Hi, Thank you for you reply, that just a mistake when I send this mail. Actually I wrote root@ryu-vm:~# curl -X POST -d '{"match": {"nw_dst": "10.0.0.1", "nw_proto": "UDP", "tp_dst": "5002"}, "actions":{"queue": "1"}}' http://localhost:8080/qos/rules/0001 when I use RYU controller

Re: [Ryu-devel] About ryu rest_qos

2014-11-05 Thread Yusuke Iwase
Hi, On 2014年11月05日 21:36, Yafeng Zhou wrote: > Hello All, > > I am learning SDN, and I used Ryu as the controller. And these days I am > trying to set qos on switches, and I do this by ryu-book > . Something goes well, > however when I set

Re: [Ryu-devel] About ryu rest_qos

2014-11-05 Thread Benjamin Eggerstedt
Hi Yafeng, This has been asked before and the reply was to include the "dl_type" if you want to match on nw_dst / nw_src. e.g. dl_type=0x0800 ​Benny On Wed, Nov 5, 2014 at 1:36 PM, Yafeng Zhou wrote: > Hello All, > > I am learning SDN, and I used Ryu as the controller. And these days I am >

[Ryu-devel] About ryu rest_qos

2014-11-05 Thread Yafeng Zhou
Hello All, I am learning SDN, and I used Ryu as the controller. And these days I am trying to set qos on switches, and I do this by ryu-book . Something goes well, however when I set the qos rules as: root@ryu-vm:~# curl -X POST -d '{"port_nam

[Ryu-devel] About ryu rest_qos

2014-11-05 Thread Yafeng Zhou
Hello All, I am learning SDN, and I used Ryu as the controller. And these days I am trying to set qos on switches, and I do this by ryu-book . Something goes well, however when I set the qos rules as: root@ryu-vm:~# curl -X POST -d '{"match":