Re: [Ryu-devel] multiple controller scenario using RYU

2017-04-17 Thread Tanvir.Ulhuque
?Hi Yi Thanks for your prompt response. Scenario: - Two switches (S1, S2), two controllers (C1, C2) in a network - both switches are connected with both of these controllers. That means, S1--C1--S2, and S1--C2--S2 - but controllers have no common connection between them. That means, C1--><

Re: [Ryu-devel] OFPFlowStatsReply - max number of returned flow entries

2017-04-17 Thread Fujimoto Satoshi
Hi, Alan I think you need to re-assemble received FlowStats Reply message. FlowStats Reply message is one of the Multipart Messages. It may have a large amount of data, so it may be divided. You need to check OFPMPF_REPLY_MORE bit in the message to determine if more replies will follow the mes

[Ryu-devel] OFPFlowStatsReply - max number of returned flow entries

2017-04-17 Thread alan_fordyce
Hi, I've added a Flow Stats Request procedure to my RYU app which gets called on a timer every 10s. I've also implemented a flow stats reply handler see code below... def send_flow_stats_request(self, dpid): # do we know about this switch if not dpid: return