Re: [ovs-discuss] c

2016-07-02 Thread Charlie Li
Please see the attached logs from ovs-vswitchd. On Sat, Jul 2, 2016 at 10:01 AM, Ben Pfaff wrote: > Thanks. > > The logs show ovs-vsctl is sending the configuration change to the > database, but ovs-vswitchd never acknowledges that the configuration > change has been completed. > > What's in the

Re: [ovs-discuss] c

2016-07-02 Thread Ben Pfaff
Thanks. The logs show ovs-vsctl is sending the configuration change to the database, but ovs-vswitchd never acknowledges that the configuration change has been completed. What's in the ovs-vswitchd log? On Sat, Jul 02, 2016 at 09:24:16AM -0500, Charlie Li wrote: > Please see the attached logs (w

Re: [ovs-discuss] c

2016-07-02 Thread Charlie Li
Please see the attached logs (with "-v" option). On Fri, Jul 1, 2016 at 7:06 PM, Ben Pfaff wrote: > OK, in that case, can you run the command in circumstances such that it > hangs, but adding the "-v" option? That will cause it to print a log of > debugging messages to stdout. Give it a couple

Re: [ovs-discuss] c

2016-07-01 Thread Ben Pfaff
OK, in that case, can you run the command in circumstances such that it hangs, but adding the "-v" option? That will cause it to print a log of debugging messages to stdout. Give it a couple of seconds, then hit control+C and email all of the output that it printed. Thanks, Ben. On Fri, Jul 01

Re: [ovs-discuss] c

2016-07-01 Thread Charlie Li
ovs-vsctl: cannot create a bridge named br0 because a bridge named br0 already exists On Fri, Jul 1, 2016 at 5:22 PM, Ben Pfaff wrote: > If you hit control+C and run the ovs-vsctl command again, what happens? > > On Fri, Jul 01, 2016 at 05:06:27PM -0500, Charlie Li wrote: > > I don't think so -

Re: [ovs-discuss] c

2016-07-01 Thread Ben Pfaff
If you hit control+C and run the ovs-vsctl command again, what happens? On Fri, Jul 01, 2016 at 05:06:27PM -0500, Charlie Li wrote: > I don't think so - "ps -ef" shows the following processes > > root 1458 1 0 16:17 ?00:00:00 ./ovsdb-server > --remote=punix:/usr/local/var/run/op

Re: [ovs-discuss] c

2016-07-01 Thread Charlie Li
I don't think so - "ps -ef" shows the following processes root 1458 1 0 16:17 ?00:00:00 ./ovsdb-server --remote=punix:/usr/local/var/run/openvswitch/db.sock --remote=db:Open_vSw root 1464 1 0 16:18 ?00:00:09 ./ovs-vswitchd --dpdk -c 0x1 -n 4 -- unix:/usr/local/v

Re: [ovs-discuss] c

2016-07-01 Thread Ben Pfaff
Does ovs-vswitchd die when you run that? On Fri, Jul 01, 2016 at 04:24:15PM -0500, Charlie Li wrote: > If I don't re-build DPDK and OVS, the following command will hang > > sudo ./ovs-vsctl add-br br0 -- set bridge br0 datapath_type=netdev > > Looks like Bala reported the same issue (not sure if

Re: [ovs-discuss] c

2016-07-01 Thread Charlie Li
If I don't re-build DPDK and OVS, the following command will hang sudo ./ovs-vsctl add-br br0 -- set bridge br0 datapath_type=netdev Looks like Bala reported the same issue (not sure if it is caused by the same reason - not re-building OVS/DPDK) On Fri, Jul 1, 2016 at 3:21 PM, Ben Pfaff wrote:

Re: [ovs-discuss] c

2016-07-01 Thread Ben Pfaff
On Fri, Jul 01, 2016 at 01:57:38PM -0500, Charlie Li wrote: > By now I am successful in running openvswitch-2.5.0 with DPDK-2.2.0 by > following "INSTALL.DPDK.md ". > > I understand that I have to build DPDK and OVS for the very first time. > > # Build DPDK > cd $DPDK_DIR

[ovs-discuss] c

2016-07-01 Thread Charlie Li
Hello, By now I am successful in running openvswitch-2.5.0 with DPDK-2.2.0 by following "INSTALL.DPDK.md ". I understand that I have to build DPDK and OVS for the very first time. # Build DPDK cd $DPDK_DIR make install T=x86_64-native-linuxapp-gcc # Configure & build OV

[ovs-discuss] C api for ovs-*ctl

2014-01-06 Thread Ageeleshwar Kandavelu
Hi, Is there a C api for openvswitch. Please give me the link to the same. Thank you, Ageeleshwar K http://www.csscorp.com/common/email-disclaimer.php ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

Re: [ovs-discuss] C api for ovs-*ctl

2014-01-06 Thread Justin Pettit
On Sun, Jan 5, 2014 at 8:06 PM, Ageeleshwar Kandavelu < ageeleshwar.kandav...@csscorp.com> wrote: > > Is there a C api for openvswitch. Please give me the link to the same. > OVS is mostly written in C, and it contains a number of libraries, but there's not a generic plug-in mechanism, if that's