Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
 ryu/ofproto/ofproto_v1_2_parser.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/ryu/ofproto/ofproto_v1_2_parser.py 
b/ryu/ofproto/ofproto_v1_2_parser.py
index 5010d58..553c32a 100644
--- a/ryu/ofproto/ofproto_v1_2_parser.py
+++ b/ryu/ofproto/ofproto_v1_2_parser.py
@@ -1494,12 +1494,12 @@ class OFPQueueGetConfigRequest(MsgBase):
 
 class OFPQueuePropHeader(StringifyMixin):
     def __init__(self, property_, len_=None):
-        self._property = property_
+        self.property = property_
         self.len = len_
 
     def serialize(self, buf, offset):
         msg_pack_into(ofproto_v1_2.OFP_QUEUE_PROP_HEADER_PACK_STR,
-                      buf, offset, self._property, self.len)
+                      buf, offset, self.property, self.len)
 
 
 class OFPQueueProp(OFPQueuePropHeader):
@@ -1557,7 +1557,7 @@ class OFPPacketQueue(StringifyMixin):
 @OFPQueueProp.register_property(ofproto_v1_2.OFPQT_MIN_RATE,
                                 ofproto_v1_2.OFP_QUEUE_PROP_MIN_RATE_SIZE)
 class OFPQueuePropMinRate(OFPQueueProp):
-    def __init__(self, rate, len_=None):
+    def __init__(self, rate, property_=None, len_=None):
         super(OFPQueuePropMinRate, self).__init__()
         self.rate = rate
 
@@ -1571,7 +1571,7 @@ class OFPQueuePropMinRate(OFPQueueProp):
 @OFPQueueProp.register_property(ofproto_v1_2.OFPQT_MAX_RATE,
                                 ofproto_v1_2.OFP_QUEUE_PROP_MAX_RATE_SIZE)
 class OFPQueuePropMaxRate(OFPQueueProp):
-    def __init__(self, rate, len_=None):
+    def __init__(self, rate, property_=None, len_=None):
         super(OFPQueuePropMaxRate, self).__init__()
         self.rate = rate
 
-- 
1.8.3.1


------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to