Hi,

 > I need to get port details (e.g port_no, mac_address etc) of all ports
 > of a switch from ryu application. How can i get these details.
 > Pls help.


If you want get port details by REST API, please you use Get ports 
description of ryu.app.ofctl_rest.

http://ryu.readthedocs.org/en/latest/app/ofctl_rest.html#get-ports-description


If you want get port details by your application, please use 
method(get_port or get_ports) of class ryu.controller.dpset.DPSet.

http://ryu-zhdoc.readthedocs.org/en/latest/api_ref.html?highlight=Get_port#ryu.controller.dpset.DPSet.get_ports


Thanks,

On 2016年04月07日 14:08, Pynbiang Hadem wrote:
> Dear all,
>
> I need to get port details (e.g port_no, mac_address etc) of all ports
> of a switch from ryu application. How can i get these details.
> Pls help.
>
> Hadem.
>
>
> ------------------------------------------------------------------------------
>
>
>
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>

------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to