mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-05 04:16:11 +02:00
remove OFPFlowRemoved and OFPPortStatus handlers in MAIN_DISPATCHER
I don't see any reason why we need to handle those two OFP messages as differently as the rest. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
6e55bc8b98
commit
90021d43c1
@ -189,13 +189,4 @@ class ConfigHandler(object):
|
||||
|
||||
@register_cls(MAIN_DISPATCHER)
|
||||
class MainHandler(object):
|
||||
@staticmethod
|
||||
@set_ev_cls(ofp_event.EventOFPFlowRemoved)
|
||||
def flow_removed_handler(ev):
|
||||
pass
|
||||
|
||||
@staticmethod
|
||||
@set_ev_cls(ofp_event.EventOFPPortStatus)
|
||||
def port_status_handler(ev):
|
||||
msg = ev.msg
|
||||
LOG.debug('port status %s', msg.reason)
|
||||
pass
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user