[ovs-discuss] configuring a new flow originated from remote controller to network processor via vswitchd thread directly

Eyal Nissim eyaln at ceragon.com
Thu Jul 17 12:59:31 UTC 2014


Hi,

I would like Vswitch to control a network processor, in my case I'd like to perform synchronous configuration via vswitchd
This means that when a remote controller adds a new flow for example, the flow will be written by
Vswitchd thread to the Network processor
(To my understanding, according to previous answers in the forum, currently the configuration is done only when data packets arrive
at the upcall thread)
Is it logical to perform this mission from "rule_insert" function? (ofproto->ofproto_class->rule_insert) , or is there a better place?

Another question is whether there's a place (function) in vswitchd where validations upon the rule can be performed before the rule is actually written
to the memory (of vswitchd) and to the network processor
in other words, I'd like to perform the following:

a.       testing - is rule OK and there are no contradictions (related to my application)

b.      writing to memory (of vswitchd)

c.       set - to network processor


Thanks
Eyal


This email message and any attachments are intended solely for the use of the addressees hereof. 
This message and any attachments may contain information that is confidential, privileged and exempt from disclosure under applicable law.
If you are not the intended recipient of this message, you are prohibited from reading, disclosing, reproducing, distributing, disseminating or otherwise using this transmission.
If you have received this message in error, please promptly notify the sender at Ceragon by reply E-mail and immediately delete this message from your system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140717/ce45f353/attachment-0002.html>


More information about the discuss mailing list