Hi,

(2014/05/23 11:45), Qun Nguyn Thanh wrote:
> Dear Ryu-Devel,
>
> I would like to ask one question about my issues.
>
> When controller send "Echo Reply" to switch. I want to do something with
> this function. So I use
>
>
> *@set_ev_cls(ofp_event.EventOFPPacketIn, [HANDSHAKE_DISPATCHER,
> CONFIG_DISPATCHER, MAIN_DISPATCHER])    def echo_reply_handler(self,
> ev):        print 'funcion echo_reply_handler'*
> The echo_reply_handler function doesn't run. Because I don't see any my
> message with "print" function. Could you please help me ?
>
echo_reply_handler runs when ryu receive Echo Reply.
It is after sending Echo Request.

OFPHandler.echo_request_handler send back Echo Reply when ryu receive Echo 
Request.
https://github.com/osrg/ryu/blob/5dfb0ffb45cb9516aa06188bb16454db7bdfae0e/ryu/controller/ofp_handler.py#L233

> I appreciate your help.
>
> Thank you very much.
>
>
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
>
>
>
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to