On Wed, 08 Aug 2018 22:08:22 +0900, Christos Nikolaou wrote: > > Hello, > > I am using Ryu and Mininet (with Open vSwitch) for simulating networks. I > would like to send a batch of flow-mod rules from Ryu to each switch. Also, I > would like to send a barrier message before I send the batch of flow-mod > rules, to make sure that the rules were installed in the switch. > > What is the appropriate way to push a batch of rules at once and make sure > that the rules have been installed to the switch’s rule table?
Ryu usually sends a barrier request after sending an openflow command. See ryu.app.ofctl.service. BTW, if you need to program a set of rules atomically, please consider using a bundle. -- IWAMOTO Toshihiro ------------------------------------------------------------------------------ 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