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:
FUJITA Tomonori 2012-08-29 22:54:21 +09:00
parent 6e55bc8b98
commit 90021d43c1

View File

@ -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