Hi Soliman,

"ryu.topology" provides such feature, I guess.
How about the following APIs and events?
https://github.com/osrg/ryu/blob/master/ryu/topology/api.py#L38-L44
https://github.com/osrg/ryu/blob/e6773539b546576c13f7397769d2001c46bbfdaa/ryu/topology/event.py#L169-L186

If you want to implement your own host detection logic, the following app might
be helpful for you.
https://github.com/osrg/ryu/blob/master/ryu/topology/switches.py

Thanks,
Iwase


On 2018年03月22日 03:45, Soliman Awad Alshra´a Abdullah TU Ilmenau wrote:
Hello Dears,

In my topology, I should send packets from the host to a Ryu controller through many switches. I need to inform the controller about the first switch Datapath and port number which connected to the host.



Any idea or advice ?

Thanks in advance



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to