Re: [Ryu-devel] Rest_router API

2014-06-24 Thread takahashi.minoru
On Wed, 25 Jun 2014 06:06:58 +0500 Zubair Hafeez wrote: > Hi, > > I have some questions regarding Rest_Router API. > > Q1) What happen when the default ttl :64 reaches zero ? I tried changing the > Default TTL value in the API but is not working accordingly. It always > decrements from 64 Pl

[Ryu-devel] Rest_router API

2014-06-24 Thread Zubair Hafeez
Hi, I have some questions regarding Rest_Router API. Q1) What happen when the default ttl :64 reaches zero ? I tried changing the Default TTL value in the API but is not working accordingly. It always decrements from 64 Q2) Secondly what does actions=NORMAL mean in the flow table ? Regards Z

Re: [Ryu-devel] REST_Router API

2014-05-21 Thread Yuichi Ito
Hi, Please enclose JSON string with single quotations(ascii code is 0x27) like: curl -X POST -d '{"address":"172.16.20.1/24"}' http://localhost:8080/router/0001 I think you are using "right single quotation marks", 0x2019 at unicode. On Thu, 22 May 2014 06:14:19 +0500 Zubair Hafeez

[Ryu-devel] REST_Router API

2014-05-21 Thread Zubair Hafeez
Hello , I am unable to set the address for router using REST API as mentioned in Ryu frame work. Set the addresses “172.16.20.1/24” and “172.16.30.30/24” for router s1. i am using the following on the controller :curl -X POST -d ’{"address":"172.16.20.1/24"}’ http://localhost:8080/router/000