Re: [Ryu-devel] About restAPI question

2014-01-19 Thread jalee
Thanks Yuichi, Yes, this issue is dpid problem "decimal number". Thanks for you kindly support. BR, Jalee -Original Message- From: Yuichi Ito [mailto:ito.yuic...@gmail.com] Sent: Monday, January 20, 2014 3:12 PM To: jalee Cc: ryu-devel@lists.sourceforge.net Subject: Re: [Ryu-devel] About

Re: [Ryu-devel] About restAPI question

2014-01-19 Thread Yuichi Ito
Hi. /stats/flowentry/add returns 404 status only by the following points: https://github.com/osrg/ryu/blob/master/ryu/app/ofctl_rest.py#L274 https://github.com/osrg/ryu/blob/master/ryu/app/ofctl_rest.py#L283 there is no problem at the latter. please confirm the datapath id is "0031".

Re: [Ryu-devel] Ryu support for aux channel

2014-01-19 Thread YAMAMOTO Takashi
> On Fri, 17 Jan 2014 09:26:13 -0800 > Robert Brockbank wrote: > >> I was just wondering if Ryu supported auxiliary connections from an OF >> switch, in particular UDP aux channels. >> >> I've had a look through the code and I can't see anything that obviously >> indicates auxiliary channels are

Re: [Ryu-devel] Queries on implementing rest_router.py

2014-01-19 Thread watanabe.fumitaka
Hi On the topology (1 Switch - 1 controller and 2 hosts), it works following commands and settings. -- * Runnning $ ryu-manager rest_router.py * Settings case switch's DPID=0001, hostA=10.10.10.0/24, hostB=192.168.10.0/24 $ curl -X POST -d '

Re: [Ryu-devel] About restAPI question

2014-01-19 Thread Yuichi Ito
Hi. > lab@lab-virtual-machine:~/ryu/ryu/lib$ curl -d '{"dpid": "0031", > "priority":"32768", "match":{"in_port":"1"}, "actions":[{"port":"3"}]}' > http://127.0.0.1:8080/stats/flowentry/add please try with the action type such as: curl -d '{"dpid": "0031", "priority":"32

[Ryu-devel] About restAPI question

2014-01-19 Thread jalee
DearAll, I used restAPI add flow entry, but I still see the 404 message on the controller, could you tell me I miss something? Please see log as below. I will use openflow 1.0 and 1.3.1 API function. Thanks, Jalee = add flow entry lab@lab-virtual-mach