Hi all,

I am developing a flow monitoring app using FlowStatsRequest/Reply. However, 
when the number of flows on switch exceed 682, the switch start breaking the 
data into MULTIPART_REPLY message and send back to the controller as a sequence 
of FlowStatsReply with the same msg.xid and the OFPMPF_REPLY_MORE flag set to 1 
(except the last one). My question is how can I reassemble these FlowStatsReply 
messages into a single one so I can process it as a normal FlowStatsMessage. I 
already read this implementation in ‘ofctl_rest.py’ 
(https://github.com/osrg/ryu/blob/master/ryu/app/ofctl_rest.py#L749) but could 
not understand it. 

In addition, in case of some FlowStatsReply messages in a sequence are lost or 
the last message in the MULTIPART_REPLY message never arrive to controller, how 
can I detect it and handle it properly.

Any help would be really appreciated.

Kind regards,
Quoc Khanh

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to