Signed-off-by: FUJITA Tomonori <[email protected]>
---
 ryu/ofproto/ofproto_v1_2_parser.py |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/ryu/ofproto/ofproto_v1_2_parser.py 
b/ryu/ofproto/ofproto_v1_2_parser.py
index 956d73a..46cfba9 100644
--- a/ryu/ofproto/ofproto_v1_2_parser.py
+++ b/ryu/ofproto/ofproto_v1_2_parser.py
@@ -805,6 +805,19 @@ class OFPQueueGetConfigReply(MsgBase):
         return msg
 
 
+@_set_msg_type(ofproto_v1_2.OFPT_BARRIER_REQUEST)
+class OFPBarrierRequest(MsgBase):
+    def __init__(self, datapath):
+        super(OFPBarrierRequest, self).__init__(datapath)
+
+
+@_register_parser
+@_set_msg_type(ofproto_v1_2.OFPT_BARRIER_REPLY)
+class OFPBarrierReply(MsgBase):
+    def __init__(self, datapath):
+        super(OFPBarrierReply, self).__init__(datapath)
+
+
 @_set_msg_type(ofproto_v1_2.OFPT_ROLE_REQUEST)
 class OFPRoleRequest(MsgBase):
     def __init__(self, datapath, role, generation_id):
-- 
1.7.4.4


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to