Hi Carlos,

To getting all datapath instance or specific data by ID, you can use
"ryu.app.ofctl" or "ryu.controller.dpset.DPSet".
http://ryu.readthedocs.io/en/latest/app/ofctl.html
http://ryu.readthedocs.io/en/latest/api_ref.html#ryu.controller.dpset.DPSet

To register DPSet app to ryu-manager automatically, you can use _CONTEXTS in
your RyuApp.
http://ryu.readthedocs.io/en/latest/api_ref.html#ryu.base.app_manager.RyuApp._CONTEXTS

Thanks,
Iwase


On 2017年12月21日 00:04, Carlos Ferreira wrote:
Hello!

My ryu application needs to be capable of reconfiguring several OF
Switches at the same time, as the result of a switch event.
My question is: how can my application obtain the datapath object that
represents a network switch, by knowing the switch datapath ID ?

Is there a method in the ryu.controller namespace which returns the
datapath object?

Thank you all!
Carlos Ferreira

------------------------------------------------------------------------------
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