diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2012-08-30 08:22:56 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2012-08-31 09:29:57 +0900 |
commit | 10fa798590e27142f70cf7fa35a48bb50e540de1 (patch) | |
tree | 7d92e542d01a4937ffda696c9d8bc7745a5e7ee3 | |
parent | 05521398c12bbca60cd87db56238500bbc08bb1c (diff) |
remove unnecessary OFPEchoReply handler in dispatchers
We don't send OFPEchoRequest so there is no point to have OFPEchoReply
handler.
I think that sending OFPEchoRequest is useful for some cases
(e.g. finding problems on the switch quickly). But that should be
another helper dispatcher since not all applications need such.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/controller/handler.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ryu/controller/handler.py b/ryu/controller/handler.py index 09b484bc..227f1706 100644 --- a/ryu/controller/handler.py +++ b/ryu/controller/handler.py @@ -117,14 +117,6 @@ class EchoHandler(object): echo_reply.data = msg.data datapath.send_msg(echo_reply) - @staticmethod - @set_ev_cls(ofp_event.EventOFPEchoReply) - def echo_reply_handler(ev): - # do nothing - # msg = ev.msg - # LOG.debug('echo reply ev %s %s', msg, str(msg.data)) - pass - @register_cls([HANDSHAKE_DISPATCHER, CONFIG_DISPATCHER, MAIN_DISPATCHER]) class ErrorMsgHandler(object): |