summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>2012-02-09 16:35:37 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2012-02-09 16:35:37 +0900
commitb9ddde883012f8b455a0ce475c392fcab7bf309b (patch)
treee2d8626830d33d2d0c308533cf7c0a138de2dca7
parent70e8d096d50bf70eaa179df7a5cf2db256f549a1 (diff)
fix ofp_event conversion messup
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/app/simple_isolation.py2
1 files changed, 1 insertions, 1 deletions
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