mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-05 04:16:11 +02:00
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 <ykaneko0929@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
d26cbddf26
commit
8f28a48a2a
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user