Thank you for your reply!

Bundles seem to be the right way to go at it. I have one more question though: 
is there any information on how to use bundles? Unfortunately, I couldn’t find 
enough information. 

I don’t understand how to create a bundle message and how to use the 
OFPBundleCtrlMsg and the OFPBundleAddMsg classes to bundle multiple flow-mod 
messages together and then send them all at once with the 
datapath.send_msg(msg) method.

Christos


> On 9 Aug 2018, at 04:56, IWAMOTO Toshihiro <iwam...@valinux.co.jp> wrote:
> 
> 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

Reply via email to