On 20 Mar 2023, at 15:21, 675063826 wrote:
> Hi Eelco, > > Thanks a lot for your reply. Maybe I can describe more details about my > question. My aim is to create a tcp connection between ovs and > controller(maybe using tcp port 6666.). First , I tried ONOS. I found that > ONOS pushed flow table entries so that the tcp connection can work well. And > then I tried OpenvirteX(a network slice controller), I found that OVX didn't > dispatch any flow table entries. So I have to add some flows manually.😫 I > Think it is the problem of OVX itself. Thanks a lot for your reply. I would suggest checking if the TCP connection between OVS and the controller is up, and if so see if you see any controller traffic. I think you could try setting the debug level of vconn “ovs-appctl vlog/set vconn:dbg”, and then check the ovs-vswitchd.log. This is from the top of my head, so not 100% sure this is working (you could try this first with the working controller). //Eelco > > ---- Replied Message ---- > > FromEelco Chaudron<echau...@redhat.com> > > Date03/20/2023 17:31 > > To675063826<675063...@qq.com> > > ccovs-disc...@openvswitch.org<ovs-discuss@openvswitch.org> > > SubjectRe: [ovs-discuss] add pernament flow entry > > > On 17 Mar 2023, at 17:14, 675063826 via discuss wrote: > >> Hello, >> I want to keep a tcp connection between ovs and controller. But I found that >> the flow entries were deleted when the controller was down. Are there >> methods to add flows permanent?I mean when I start ovs, my flow entry exist. > > Hi Yani, > > OpenFlow rules can not be saved, they will always start with a NORMAL rule. > You can tune this a little bit with the “Controller Failure Settings”, see > http://www.openvswitch.org/support/dist-docs/ovs-vsctl.8.txt. > > You can always use a script to add the flows manually using “ovs-ofctl > add-flows” during startup. > > Hope this helps. > > Eelco > >> Best wishes, >> >> Yani._______________________________________________ >> discuss mailing list >> disc...@openvswitch.org >> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss _______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss