Hi

To get all switch and link information, you can use :
ryu/topology/api.py

To get all hosts, you need to record host information while controller
receive packet in message, for example:
https://github.com/osrg/ryu/blob/master/ryu/app/simple_switch_13.py#L89




Yi


2015-04-13 18:32 GMT+08:00 Ruchika Luthra <[email protected]
>:

> Hello,
>
> Is there any way app/script/module in Ryu controller using which we can
> dump info about the switch and its ports, as in which what is connected at
> which port?
>
> My main aim is to know whether the host is directly connected to the
> switch or reachable via other switch connected to this switch.
>
> Thank you
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> Develop your own process in accordance with the BPMN 2 standard
> Learn Process modeling best practices with Bonita BPM through live
> exercises
> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
> event?utm_
> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
>


-- 

-----
Yi Tseng (a.k.a Takeshi)
Taiwan National Chiao Tung University
Department of Computer Science

-----
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to