On Fri, 10 Aug 2018 00:14:49 +0900,
Christos Nikolaou wrote:
> 
> [1  <text/plain; iso-8859-7 (quoted-printable)>]
> 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. 

It's written in the OpenFlow spec.

> 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.

I wrote some code there, but it might not be so easy to understand.

http://git.openstack.org/cgit/openstack/neutron/tree/neutron/plugins/ml2/drivers/openvswitch/agent/openflow/native/ofswitch.py#n249

With ryu, you cannot send all the OF commands at once.
You'll send OF commands one by one, and finally send a
ONFBundleCtrlMsg with ctrl_type = ONF_BCT_COMMIT_REQUEST (if you are
using OF1.3). If you use OF1.4 or later, command names are slightly
different.


--
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