On Wed, 9 Jul 2014 22:36:25 +0530
Digambar Patil <[email protected]> wrote:

>           I am debugging ryu code. Started with debugging switch topology
> with pdb by using rest client but how to debug event code because at some
> point get_switch method calls EventSwitchRequest event in do_request method.
>          But after calling this event pdb not attached to further
> operation, can somebody help me to understand the code after this event
> because I want to know end-end operation here.

After that, switch_requrest_handler() in switches.py is called and
sends the response to the caller. IOW, the caller thread sends
EventSwitchRequest then Ryu finds a thread that interested in
EventSwitchRequest and delivers it to the thread. The thread sends
EventSwitchReply to the caller.

>          Or if you have any guide, please let me know I will go through
> with that.

Check out base/app_manager.py

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to