On Tue, 16 Jul 2013 18:51:09 +0000
"Claiborne, Matt" <[email protected]> wrote:
> I am seeing the following error when controller receives and attempts to
> parse a multipart reply for a port_desc_stats_request. This was working
> until recently, I would appreciate any suggestions for a fix/workaround to
> this issue.
Sorry, looks like a regression due to clean up of our OF parsers.
diff --git a/ryu/ofproto/ofproto_v1_3_parser.py
b/ryu/ofproto/ofproto_v1_3_parser.py
index 7c28065..31dd379 100644
--- a/ryu/ofproto/ofproto_v1_3_parser.py
+++ b/ryu/ofproto/ofproto_v1_3_parser.py
@@ -1485,7 +1485,7 @@ class OFPPort(ofproto_parser.namedtuple('OFPPort', (
def parser(cls, buf, offset):
port = struct.unpack_from(ofproto_v1_3.OFP_PORT_PACK_STR, buf, offset)
ofpport = cls(*port)
- ofpport.length = ofproto_v1_3.OFP_PORT_SIZE
+ ofpport._length = ofproto_v1_3.OFP_PORT_SIZE
return ofpport
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel