Hello, I am working with the Ryu Controller and have to deal with huge sets of flow rules (currently up to 20k per OVS). In the current setup I get the datapath object for each switch with the SwitchFeature Event, which calls the ryu method: > @set_ev_cls(ofp_event.EventOFPSwitchFeatures, CONFIG_DISPATCHER) > def switch_features_handler(self, ev):
>From there I generate my flow rules and store them in a list. The calculation >method is called within hub.spawn_after, in order to be calculated in the >background. A second method is waiting for the calculation to be finished in a while loop: > while self.rules_finished is False: > hub.sleep(1) This setup works for a reasonable amount of flow rules to be calculated, currently up to 8k- 10k for a switch. When the amount of flow rules increases and the calculation time as well, I experience a second SwitchFeature Event during the calculation. I assume that this is because of a certain timeout, because my controller does not send any messages to the switch. Is there a way to kind of keep alive the connection to each switch, during the calculation of flow rules? I need to calculate the rules in advance, because I want to install them as fast as possible afterwards, since the project has to do with timing. I appreciate your input! Thanks! -- Regards, Sascha ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
