mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-01-30 13:01:23 +01:00
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>
This commit is contained in:
parent
05521398c1
commit
10fa798590
@ -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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user