Yes that is essentially the goal. I will look into some of these libraries and 
see if any of them help.

-Tommy

From: Blue Lang <[email protected]>
Date: Monday, October 16, 2017 at 3:10 PM
To: Tommy Romano <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: [ovs-discuss] Adding/Removing Flows Programmatically in C 
Application

There are plenty of controllers out there, including a couple in C - libfluid, 
for instance. Is your goal to bypass the OF client layer?

Thanks,

On Mon, Oct 16, 2017 at 5:05 PM, Tommy Romano 
<[email protected]<mailto:[email protected]>> wrote:
My project was previously calling system commands like ‘ovs-ofctl add-flow’ 
directly from C, but we would like to do this programmatically now, by calling 
into the openvswitch library. After looking at this for a bit and what methods 
I would have to call, I’ve realized this is non trivial, and I can’t find any 
easily exposed methods to add and delete flows. Does anyone have an example 
anywhere of calling into openvswitch methods directly to add/remove flows? So 
far the best way I can find is calling into 
ovn/controller/ofctrl.h:ofctrl_add_flow(…), but this will require quite a bit 
of legwork.
Best,
Tommy Romano

_______________________________________________
discuss mailing list
[email protected]<mailto:[email protected]>
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss<https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.openvswitch.org_mailman_listinfo_ovs-2Ddiscuss&d=DwMFaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=M1N9E9dRwci4IBhb8liI8A&m=m1lX0ZBN8mFZ3s8pT_l2U2BsyCoPdF3kInb8scZYemQ&s=loiT0c8okO0RFKy4z9FL7XxxABCya0iObvrnPuVShGE&e=>



--
Blue Lang
PM | Veracity

3423 Piedmont Rd NE

Suite 350

Atlanta, GA  30305
Cell:  (770) 265-1381<tel:+17702651381>
https://www.linkedin.com/in/bluelang/
<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.linkedin.com_in_bluelang_&d=DwMFaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=M1N9E9dRwci4IBhb8liI8A&m=m1lX0ZBN8mFZ3s8pT_l2U2BsyCoPdF3kInb8scZYemQ&s=2qJv7BGMLUnEA1Y2CQJYu61x4IqoJSdn5hH4g9A3WfM&e=>
[email protected]<mailto:[email protected]>
www.veracity.io<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.veracity.io&d=DwMFaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=M1N9E9dRwci4IBhb8liI8A&m=m1lX0ZBN8mFZ3s8pT_l2U2BsyCoPdF3kInb8scZYemQ&s=ALPiMf9qYoePKSMlQmCJwKn1vXf_FdFOqypSAGVnRY4&e=>
[cid:[email protected]]
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to