From 8f28a48a2a4769a761ebf2e54d4a69f9fc5d7e99 Mon Sep 17 00:00:00 2001 From: Yoshihiro Kaneko Date: Wed, 12 Sep 2012 12:13:34 +0900 Subject: [PATCH] app/simple_isolation: update handler registration This patch only removes unnecessary methods that didn't accord with the library changed at ae0253a36c8787b645d33eb109636ca009d65f96. Signed-off-by: Yoshihiro Kaneko Signed-off-by: FUJITA Tomonori --- ryu/app/simple_isolation.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ryu/app/simple_isolation.py b/ryu/app/simple_isolation.py index f6ab4da0..ff8e1e45 100644 --- a/ryu/app/simple_isolation.py +++ b/ryu/app/simple_isolation.py @@ -61,10 +61,6 @@ class SimpleIsolation(app_manager.RyuApp): self.mac2port.dpid_add(ev.msg.datapath_id) self.nw.add_datapath(ev.msg) - @set_ev_cls(ofp_event.EventOFPBarrierReply) - def barrier_reply_handler(self, ev): - LOG.debug('barrier reply ev %s msg %s', ev, ev.msg) - @staticmethod def _modflow_and_send_packet(msg, src, dst, actions): datapath = msg.datapath @@ -351,7 +347,3 @@ class SimpleIsolation(app_manager.RyuApp): self._port_del(ev) else: assert reason == ofproto.OFPPR_MODIFY - - @set_ev_cls(ofp_event.EventOFPBarrierReply, MAIN_DISPATCHER) - def barrier_replay_handler(self, ev): - pass