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://10.0.1.100/24>"}' 
> http://localhost:8080/router/0000000000000001
> curl -X POST -d '{"address": "10.10.10.1/24 <http://10.10.10.1/24>"}' 
> http://localhost:8080/router/0000000000000001
>
> After which my AddressData object for *switch_id:1* looks like:
> #    key,   address_id, nw_addr, netmask, default_gw
> ---------------------------------------------------------------------------
> 1)('10.0.1.0/24 <http://10.0.1.0/24>',    1,    '10.0.1.0',     24,   
> '10.0.1.100')
> 2)('10.10.10.0/24 <http://10.10.10.0/24>', 2,   '10.10.10.0',  24,   
> '10.10.10.1')
>
> How can i get the information of which IP is assigned to which interface of 
> *switch_id:1?*

AFAIK, rest_router.py does not bind IP address to the specific interface.
The assigned IP address are shared by all interfaces of the switch.

Thanks,
Iwase

> *
> *
> Would really appreciate your help on this.
>
> Thanks
> Hadem
>
>
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
>
>
>
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to