Signed-off-by: IWASE Yusuke <[email protected]>
---
ryu/ofproto/ofproto_v1_4_parser.py | 1 +
ryu/ofproto/ofproto_v1_5_parser.py | 1 +
2 files changed, 2 insertions(+)
diff --git a/ryu/ofproto/ofproto_v1_4_parser.py
b/ryu/ofproto/ofproto_v1_4_parser.py
index c53909f..943fcc9 100644
--- a/ryu/ofproto/ofproto_v1_4_parser.py
+++ b/ryu/ofproto/ofproto_v1_4_parser.py
@@ -4092,6 +4092,7 @@ class OFPRequestForward(MsgInMsgBase):
================ ======================================================
Example::
+
@set_ev_cls(ofp_event.EventOFPRequestForward, MAIN_DISPATCHER)
def request_forward_handler(self, ev):
msg = ev.msg
diff --git a/ryu/ofproto/ofproto_v1_5_parser.py
b/ryu/ofproto/ofproto_v1_5_parser.py
index 20f3829..d7e4914 100644
--- a/ryu/ofproto/ofproto_v1_5_parser.py
+++ b/ryu/ofproto/ofproto_v1_5_parser.py
@@ -4700,6 +4700,7 @@ class OFPRequestForward(MsgInMsgBase):
================ ======================================================
Example::
+
@set_ev_cls(ofp_event.EventOFPRequestForward, MAIN_DISPATCHER)
def request_forward_handler(self, ev):
msg = ev.msg
--
1.9.1
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel