Re: [ovs-discuss] Debian init script

2014-07-16 Thread Gurucharan Shetty
FYI I committed a patch (to OVS master) which takes a middle ground with an onus on the admin of the system to make the right call. I updated the documentation to give some perspective. Change can be seen here: https://github.com/openvswitch/ovs/commit/9a8b5cc1a3d941c0e33f3f5b5ac260a35a8130af On

[ovs-discuss] How to limit resource usage of openvswitch

2014-07-16 Thread yimeng zhao
Hi, Is there any way to limit the resource usage of openvswitch in kernel? When ovs starts, can I monitor its resource usage by using command like "top"? Best Regards Yimeng ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailma

Re: [ovs-discuss] OVS code that is responsible for adding and receiving flow entries from controllers

2014-07-16 Thread Gurucharan Shetty
On Tue, Jul 15, 2014 at 11:30 AM, LUNAT LUNAT wrote: > Hi, > > > Can anyone point to a function in OVS code that receives flow entries from > the controllers? At a very low level, a read() or a recv() would get it. Have a look at handle_openflow() and see how it gets called and what it does as a s

Re: [ovs-discuss] which function calls actually call the datapath when ovs-ofctl add-flow command is invoked?

2014-07-16 Thread Gurucharan Shetty
On Tue, Jul 15, 2014 at 6:39 AM, Eyal Nissim wrote: > Hi, > > > > > > I’m using vswitchd and ovs-ofctl add-flow command, > > (trying to understand the flow) , getting a breakpoint at flow_add as > expected > > > > > > I was expecting the datapath to be configured with the new flow, so I put > seve

Re: [ovs-discuss] Did anyone manage to build and use ovs with SHARED libraries

2014-07-16 Thread Gurucharan Shetty
On Tue, Jul 15, 2014 at 10:20 PM, Gur Stavi wrote: > Hi, > > > > I tried building ovs with shared libraries to reduce the size of the > executables. Mainly I would like to generate libopenvswitch.so instead of > libopenvswitch.a. > > I added --enable-shared to the 'configure' command and also tr

Re: [ovs-discuss] PPPoE across Internet.

2014-07-16 Thread 邓尧
Just did a tcpdump on eth1 of host A, the PPPoE discovery packet was actually successfully sent to interface eth1, but unfortunately I got no response from PPPoE server. Host A is actually a virtual machine, I'm not sure whether it's the root cause of the problem. On Wed, Jul 16, 2014 at 6:37 PM

[ovs-discuss] PPPoE across Internet.

2014-07-16 Thread 邓尧
Hi all, I'm trying to setup ovs as an ethernet tunnel, so I can dial into a private network across the Internet. I have 2 linux hosts A, B, both running openvswitch 2.1.2, configured with kernel support. Host A is the host which I can dial directly into the private network. Host A has two network

Re: [ovs-discuss] which function calls actually call the datapath when ovs-ofctl add-flow command is invoked?

2014-07-16 Thread Joe Stringer
On 16 July 2014 01:39, Eyal Nissim wrote: > Hi, > > > > > > I’m using vswitchd and *ovs-ofctl add-flow* command, > > (trying to understand the flow) , getting a breakpoint at * flow_add* as > expected > > > > > > I was expecting the datapath to be configured with the new flow, so I put > several