From b9ddde883012f8b455a0ce475c392fcab7bf309b Mon Sep 17 00:00:00 2001 From: MORITA Kazutaka Date: Thu, 9 Feb 2012 16:35:37 +0900 Subject: fix ofp_event conversion messup Signed-off-by: FUJITA Tomonori --- ryu/app/simple_isolation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryu/app/simple_isolation.py b/ryu/app/simple_isolation.py index ac9e3161..9e1248b2 100644 --- a/ryu/app/simple_isolation.py +++ b/ryu/app/simple_isolation.py @@ -231,7 +231,7 @@ class SimpleIsolation(object): # drop packets? assert port_nw_id == NW_ID_UNKNOWN - @set_ev_cls(event.EventOFPPortStatus, MAIN_DISPATCHER) + @set_ev_cls(ofp_event.EventOFPPortStatus, MAIN_DISPATCHER) def port_status_handler(self, ev): msg = ev.msg datapath = msg.datapath -- cgit v1.2.3