Re: [Ryu-devel] IPs and Switch-interfaces in RYU rest_router.py

2016-06-23 Thread Pynbiang Hadem
Thanks Iwase, Is there any presently existing RYU application that does a binding of IP address to switch interfaces?. Regards Hadem On Thu, Jun 23, 2016 at 3:12 PM, Pynbiang Hadem wrote: > Thanks Iwase, > Very helpful pointers... > > Regards > Hadem > > On Thu, Jun 23, 2016 at 1:53 PM, Iwase Y

Re: [Ryu-devel] IPs and Switch-interfaces in RYU rest_router.py

2016-06-23 Thread Pynbiang Hadem
Thanks Iwase, Very helpful pointers... Regards Hadem On Thu, Jun 23, 2016 at 1:53 PM, Iwase Yusuke wrote: > Hi, > > On 2016年06月23日 15:41, Pynbiang Hadem wrote: > >> Thanks Iwase, >> Do you think it is possible to bind an IP address to a specific switch >> interface from a REST program?. >> > >

Re: [Ryu-devel] IPs and Switch-interfaces in RYU rest_router.py

2016-06-23 Thread Iwase Yusuke
Hi, On 2016年06月23日 15:41, Pynbiang Hadem wrote: > Thanks Iwase, > Do you think it is possible to bind an IP address to a specific switch > interface from a REST program?. Yes, I think, but you need to extend API of rest_router.py. For example, by adding the port number to "Data" field the follow

Re: [Ryu-devel] IPs and Switch-interfaces in RYU rest_router.py

2016-06-22 Thread Pynbiang Hadem
Thanks Iwase, Do you think it is possible to bind an IP address to a specific switch interface from a REST program?. Thanks Hadem On Thu, Jun 23, 2016 at 11:01 AM, Iwase Yusuke wrote: > Hi, > > On 2016年06月22日 17:43, Pynbiang Hadem wrote: > >> But in this case, there are two IPs being assigned t

Re: [Ryu-devel] IPs and Switch-interfaces in RYU rest_router.py

2016-06-22 Thread Iwase Yusuke
Hi, On 2016年06月22日 17:43, Pynbiang Hadem wrote: > But in this case, there are two IPs being assigned to the > switch:1((10.0.1.100 and 10.10.10.1) from the CURL command. How does the > switch differentiate between the two IPs unless they are being assigned to a > particular interface?. The ass

Re: [Ryu-devel] IPs and Switch-interfaces in RYU rest_router.py

2016-06-22 Thread Pynbiang Hadem
But in this case, there are two IPs being assigned to the switch:1(( 10.0.1.100 and 10.10.10.1) from the CURL command. How does the switch differentiate between the two IPs unless they are being assigned to a particular interface?. Thanks Hadem On Wed, Jun 22, 2016 at 1:42 PM, Iwase Yusuke wrot

Re: [Ryu-devel] IPs and Switch-interfaces in RYU rest_router.py

2016-06-22 Thread Iwase Yusuke
Hi, On 2016年06月21日 21:06, Pynbiang Hadem wrote: > Dear All, > > I executed the following commands for rest_router.py: > curl -X POST -d '{"address":"10.0.1.100/24 "}' > http://localhost:8080/router/0001 > curl -X POST -d '{"address": "10.10.10.1/24

[Ryu-devel] IPs and Switch-interfaces in RYU rest_router.py

2016-06-21 Thread Pynbiang Hadem
Dear All, I executed the following commands for rest_router.py: curl -X POST -d '{"address":"10.0.1.100/24"}' http://localhost:8080/router/0001 curl -X POST -d '{"address": "10.10.10.1/24"}' http://localhost:8080/router/0001 After which my AddressData object for *switch_id