Re: [ovs-discuss] 回复: ovs-ofctl add-meter command limit rate can work ?

2017-06-19 Thread Andy Zhou
On Mon, Jun 19, 2017 at 1:58 AM, 爬山虎 wrote: > > 1)We think one meter with one bond is just good way , one meter with > multiple band can not be work (can not be test in real project). So sorry > we never to realize multiple band that wrong in theory. I don't think OVS can benefit

Re: [ovs-discuss] 回复: ovs-ofctl add-meter command limit rate can work ?

2017-06-02 Thread Andy Zhou
On Fri, Jun 2, 2017 at 2:17 AM, 爬山虎 wrote: > > Thank you for you reply. > > Recently i have read the meter patch which realized in user mode space in > detail. Especially the "dp_netdev_run_meter" function. > > I don't think the implementation logical follow the openflow

Re: [ovs-discuss] ovs-ofctl add-meter command limit rate can work ?

2017-05-30 Thread Andy Zhou
On Fri, May 26, 2017 at 7:50 PM, 爬山虎 wrote: > > > I have saw this patch at "https://patchwork.ozlabs.org/patch/731701/;. We > have build and run at our centos-7.10 OS. > > 1) But i and my colleague don't know how to use the , can you give some > example about the command line

Re: [ovs-discuss] ovs-ofctl add-meter command limit rate can work ?

2017-05-24 Thread Andy Zhou
.ozlabs.org/patch/731701/ > > - Volkan > > From: ovs-discuss-boun...@openvswitch.org > [ovs-discuss-boun...@openvswitch.org] on behalf of Andy Zhou [az...@ovn.org] > Sent: Tuesday, May 23, 2017 10:46 PM > To: 爬山虎 > Cc: ovs-discuss > Subject: Re: [ovs-discuss] ovs-ofctl

Re: [ovs-discuss] Have doubts about ovsdb

2017-05-17 Thread Andy Zhou
On Wed, May 17, 2017 at 7:52 PM, y...@panath.cn <y...@panath.cn> wrote: > > > > y...@panath.cn > > > From: Andy Zhou > Date: 2017-05-18 10:33 > To: y...@panath.cn > CC: ovs-discuss > Subject: Re: [ovs-discuss] Have doubts abo

Re: [ovs-discuss] Have doubts about ovsdb

2017-05-17 Thread Andy Zhou
On Wed, May 17, 2017 at 7:29 PM, y...@panath.cn wrote: > Hi everyone, > whether the ovs flows(ovs-ofctl dump-flows br0) will save to ovsbd > inside, if not, they will do save, save in where? Not in OVSDB, they are stored in ovs-vswitchd. > Also, where I can find a create

Re: [ovs-discuss] Possible issue/bug at Open vSwitch and ovsdb.

2017-05-11 Thread Andy Zhou
I posted the fix to the mailing list. The patch now include a unit test to cover this bug. https://mail.openvswitch.org/pipermail/ovs-dev/2017-May/332362.html On Thu, May 11, 2017 at 1:16 PM, Andy Zhou <az...@ovn.org> wrote: > On Thu, May 11, 2017 at 2:42 AM, Tulio Ribeiro

Re: [ovs-discuss] Possible issue/bug at Open vSwitch and ovsdb.

2017-05-11 Thread Andy Zhou
tested the change locally at it seems to work. > > Regards. > > Att, > > Tulio Ribeiro - LaSIGE. > > On 05/10/2017 11:27 PM, Andy Zhou wrote: >> >> On Wed, May 10, 2017 at 11:40 AM, Tulio Ribeiro >> <tribe...@lasige.di.fc.ul.pt> wrote: >>> >

Re: [ovs-discuss] How to crash ovs-vswitchd and ovsdb-server

2017-04-26 Thread Andy Zhou
On Wed, Apr 26, 2017 at 8:31 PM, V Phanendra wrote: > Hi All, > > My requirement is my application should detect the crash in ovsdb-server and > ovs-vswitchd application and do required relaunching applications. > > To test this I would like to know how to crash

Re: [ovs-discuss] Bonding slave disabled

2017-02-17 Thread Andy Zhou
On Fri, Feb 17, 2017 at 11:30 AM, Neelakantam Gaddam wrote: > This issue is not reproducible on x86, but seeing zero mac address. Did the patch from Nic help with the zero mac address issue? There is a related patch I will push today. I currently don't have access to a

Re: [ovs-discuss] ovsdb - synching from a non-existing database

2016-08-08 Thread Andy Zhou
On Mon, Aug 8, 2016 at 2:23 PM, Daniel Levy wrote: > When synching from a database that doesn't exist, the entire database will > wipe. This is obviously very bad, because synching is typically used to > handle scenarios where a service is unreachable. > > Actions: > 1. Start

Re: [ovs-discuss] OVN scalability and HA

2016-07-14 Thread Andy Zhou
On Thu, Jul 14, 2016 at 9:34 AM, Alexey I. Froloff wrote: > Greetings, > > We're about to use OVN in a large production environment :-) > > Well, not really "production" production, but having fun testing > it, looking if we can use it in such way. While functionality is >

Re: [ovs-discuss] etcd for OVN status update (was: Re: more about etcd (can it support big transactions and many monitors?))

2016-07-07 Thread Andy Zhou
On Thu, Jul 7, 2016 at 1:30 PM, Han Zhou <zhou...@gmail.com> wrote: > > > On Thu, Jul 7, 2016 at 1:15 PM, Andy Zhou <az...@ovn.org> wrote: > >> >> >> On Thursday, July 7, 2016, Russell Bryant <russ...@ovn.org> wrote: >> >>> >

Re: [ovs-discuss] etcd for OVN status update (was: Re: more about etcd (can it support big transactions and many monitors?))

2016-07-07 Thread Andy Zhou
On Thursday, July 7, 2016, Russell Bryant <russ...@ovn.org> wrote: > > On Thu, Jul 7, 2016 at 2:44 PM, Andy Zhou <az...@ovn.org> wrote: > >> On Thu, Jul 7, 2016 at 11:37 AM, Han Zhou <zhou...@gmail.com> wrote: >> >>> Hi Andy, >>> >>

Re: [ovs-discuss] etcd for OVN status update (was: Re: more about etcd (can it support big transactions and many monitors?))

2016-07-07 Thread Andy Zhou
RPC protocol. > > > Han > > On Thu, Jul 7, 2016 at 11:07 AM, Andy Zhou <az...@ovn.org> wrote: > > > > Ben and I discussed briefly, and came up with two possible alternatives: > > > > 1. Deploy ovsdb and etcd in tendon. > > The Ovsdb clients still co

Re: [ovs-discuss] etcd for OVN status update (was: Re: more about etcd (can it support big transactions and many monitors?))

2016-07-07 Thread Andy Zhou
anything. I plan to prototype #1, and keep the code modular so that they can be applied to #2, just in case we like #2 more. On Fri, Jul 1, 2016 at 1:23 PM, Ben Pfaff <b...@ovn.org> wrote: > On Wed, Jun 29, 2016 at 03:38:26PM -0700, Andy Zhou wrote: > > This is one possible w

Re: [ovs-discuss] etcd for OVN status update (was: Re: more about etcd (can it support big transactions and many monitors?))

2016-07-01 Thread Andy Zhou
> > > A single, dedicated etcd client handling every other transaction sounds > like it could be a scale bottleneck. What do you think? > Yeah, this is not ideal. Suggestions are welcome. In OVN-SB use case, transactions are usually only issued by northd, write update should not, at least in

Re: [ovs-discuss] etcd for OVN status update (was: Re: more about etcd (can it support big transactions and many monitors?))

2016-06-29 Thread Andy Zhou
On Wed, Jun 22, 2016 at 10:43 AM, Ben Pfaff <b...@ovn.org> wrote: > On Wed, Jun 22, 2016 at 01:56:17AM -0700, Andy Zhou wrote: > > 3. How should the OVN databases be arranged within etcd? There are > > >multiple possibilities: > > > > > >- D

Re: [ovs-discuss] etcd for OVN status update (was: Re: more about etcd (can it support big transactions and many monitors?))

2016-06-22 Thread Andy Zhou
3. How should the OVN databases be arranged within etcd? There are >multiple possibilities: > >- Define OVSDB bindings to etcd and implement those bindings in the > OVSDB client libraries (C and Python). > >- Define OVSDB bindings to etcd and implement those bindings in the >

Re: [ovs-discuss] OVS 2.5 - vswitchd crash

2016-03-19 Thread Andy Zhou
On Wed, Mar 16, 2016 at 7:06 AM, Prathap T wrote: > Hi Andy: > > Thanks for the pointers. I patched the code, and it works now. > Thanks for the update. I have back ported thread stack size fixes to branch-2.5. ___ discuss

Re: [ovs-discuss] OVS 2.5 - vswitchd crash

2016-03-11 Thread Andy Zhou
On Fri, Mar 11, 2016 at 11:48 AM, Prathap T wrote: > Hi ovs-team: > > We are trying to run OVS on arm platform, but the vswitchd crashes as > soon as the bridge is added. Below are the details. Please let us know if > there is any workaround. > > *Crash in function* :-

Re: [ovs-discuss] Open vSwitch Source code walkthrough

2016-03-04 Thread Andy Zhou
added flows. At what point > should I run “gdb backtrace” ? Attached an image of what I get when I run > the same. > It seems the gdb is not attached to any process. If you are not familiar with gdb, this approach may not work out. > > > Thanks. > > > > *From:* Andy

Re: [ovs-discuss] Open vSwitch Source code walkthrough

2016-03-04 Thread Andy Zhou
Monica, you may want to trace through the code using gdb. GDB backtrace tells you where you came from and you can step forward through execution. You can alway attach gdb to a running process. If using sandbox, you can start vswitchd under gdb by using the '-g' option, as: $ make sandbox

Re: [ovs-discuss] Could someone tell me how to shorten recovery time after a bonded port failed?

2016-03-01 Thread Andy Zhou
h different. > > Thanks! > > Best regards! > > -- > ZHANG Zhiming > Yunshan Networks > > *From:* ZHANG Zhiming <zhangzhim...@yunshan.net.cn> > *Date:* 2016-02-26 09:56 > *To:* Andy Zhou <az...@ovn.org> > *CC:* discuss

Re: [ovs-discuss] Could someone tell me how to shorten recovery time after a bonded port failed?

2016-02-25 Thread Andy Zhou
One possible solution is to create another bridge say brbond, and put eth0 and eth1 in it. You can then connect your bridge to 'brbond' using patch ports. Patch ports will have their ofport numbers. On Thu, Feb 25, 2016 at 12:17 AM, ZHANG Zhiming wrote: > >

Re: [ovs-discuss] Some more scaling test results...

2016-02-11 Thread Andy Zhou
ores to be used for processing the backlog. > "discuss" <discuss-boun...@openvswitch.org> wrote on 02/08/2016 03:19:58 > PM: > > > From: Ryan Moats/Omaha/IBM@IBMUS > > To: Andy Zhou <az...@ovn.org> > > Cc: discuss@openvswitch.org > > Da

Re: [ovs-discuss] Some more scaling test results...

2016-02-08 Thread Andy Zhou
On Fri, Feb 5, 2016 at 5:26 PM, Ryan Moats wrote: > Today, I stood up a five node openstack cloud on machines with 56 cores > and 256GB of memory and ran a scaling test to see if I could > stamp out 8000 copies of the following pattern in a single project > (tenant): n1 --- r1

Re: [ovs-discuss] ovsdb behavior under ovn management plane scaling

2016-01-28 Thread Andy Zhou
On Thu, Jan 28, 2016 at 11:35 AM, Ryan Moats wrote: > As promised on today's OVN IRC meeting... > > We're in the process of testing OVN at scale as well as looking at the > performance of the various planes of OVN. > > One of the initial management plane scaling tests is to >

Re: [ovs-discuss] [openvswitch 2.3.2] testsuite: 717 fails on s390x

2015-11-02 Thread Andy Zhou
On Mon, Nov 2, 2015 at 3:57 AM, Gerhard Stenzel <gsten...@linux.vnet.ibm.com> wrote: > On 10/30/2015 07:33 PM, Andy Zhou wrote: >>> >>> Thanks for the information. I have never ran into this failure, but >>> now I can see how it is possible. It seems we >&

Re: [ovs-discuss] [openvswitch 2.3.2] testsuite: 717 fails on s390x

2015-10-30 Thread Andy Zhou
> Thanks for the information. I have never ran into this failure, but > now I can see how it is possible. It seems we > should also not match the exact value of recirc_id. I will post a > patch for this. This is done, I have pushed the patch to master, branch-2.4 and 2.3. > > In the mean time, I

Re: [ovs-discuss] [openvswitch 2.3.2] testsuite: 717 fails on s390x

2015-10-29 Thread Andy Zhou
On Thu, Oct 29, 2015 at 5:40 AM, Gerhard Stenzel <gsten...@linux.vnet.ibm.com> wrote: > > On 10/28/2015 09:05 PM, Andy Zhou wrote: >> On Wed, Oct 28, 2015 at 6:56 AM, Gerhard Stenzel > ... >> Thanks for pointing out this patch was missing from branch-2.3. It >

Re: [ovs-discuss] OVS balance-tcp bonding

2015-10-23 Thread Andy Zhou
vious patch to Joe, but > we need to schedule an appropriate time to test it, so it's > a bit slow on that front. > > Having said that, which patch do you think is better to try first? > > Thanks, > fbl > > On Thu, Oct 22, 2015 at 04:36:20PM -0700, Andy Zhou wrote: >&

Re: [ovs-discuss] OVS balance-tcp bonding

2015-10-22 Thread Andy Zhou
be fixed in the future. On Tue, Oct 20, 2015 at 8:55 PM, Andy Zhou <az...@nicira.com> wrote: > On Tue, Oct 20, 2015 at 1:42 PM, Joe Talerico <jtale...@redhat.com> wrote: >> When using balance-tcp bonding with OVS we were seeing ARP issues when we >> reached ~ 100 guests

Re: [ovs-discuss] new crash with openvswitch-2.4 in ovsdb_datum_equals

2015-10-06 Thread Andy Zhou
On Mon, Oct 5, 2015 at 3:38 PM, Richukov Kes wrote: > > Dear Sir: > > We upgrading to openvswitch-2.4 and ran ovs-vsctl set-controller command > in a script to point to a controller and soon noticed a crash in ovs- > vswitchd with below back trace. Can anyone please

Re: [ovs-discuss] [ovs-dev] Query with respect to DB commit even when vsctl failed

2015-09-24 Thread Andy Zhou
On Mon, Sep 21, 2015 at 4:31 AM, RishiRaj Maulick wrote: > Hi , > > > > I have been using OVS recently and I noticed the following - > > > > 1)1) I did not insert the openvswitch kernel module > > 2) 2) Using “ovs-vsctl add-br br0” command , I tried to add a

Re: [ovs-discuss] [ovs-dev] Fwd: Query with respect to DB commit even when vsctl failed

2015-09-24 Thread Andy Zhou
On Thu, Sep 24, 2015 at 3:16 AM, RishiRaj Maulick wrote: > Hi All, > > In the scenario where the ovsdb has already updated the database , but the > application that has registered for monitoring the schema has failed to > process DB updates ( due to internal errors ) , we

Re: [ovs-discuss] Matcthing parameters for exact flow entry for particular packet

2015-09-24 Thread Andy Zhou
man ovs-ofctl On Thu, Sep 24, 2015 at 12:33 PM, neeraj mehta wrote: > Hello Team, > > I am working on OVS-2.3.2. I want to add flow entries for exact match for > the packets. Is there is any documentation that I can consult to get the > information about tuples(flow

Re: [ovs-discuss] Help needed to understand code snippet

2015-09-23 Thread Andy Zhou
On Wed, Sep 23, 2015 at 5:55 AM, neeraj mehta wrote: > Hello Team, > > Can you help me in understanding below snippet. > > I was looking at the code in bond.c:bond_compose_learning_packet( ). In > this, function choose_output_slave ( ) can return NULL. And returned

Re: [ovs-discuss] OVS does not start without openvswitch log directory

2015-09-22 Thread Andy Zhou
What solutions do you have in mind? In this case, it seems there is a script involved in starting ovs. If true, I wonder if it possible to create the directory if necessary at the beginning of the script? On Tue, Sep 22, 2015 at 2:39 AM, Balazs Nemeth wrote: > Dear

Re: [ovs-discuss] Open vSwitch balance-slb bond mode with two upstream switches

2015-09-10 Thread Andy Zhou
at 04:28:07PM -0700, Andy Zhou wrote: >> On Wed, Sep 9, 2015 at 9:09 AM, Ben Pfaff <b...@nicira.com> wrote: >> > On Fri, Aug 21, 2015 at 07:14:33PM +, Jason Burns wrote: >> >> Can the balance-slb bond mode in Open vSwitch be used for a bond >>

Re: [ovs-discuss] Open vSwitch balance-slb bond mode with two upstream switches

2015-09-09 Thread Andy Zhou
On Wed, Sep 9, 2015 at 9:09 AM, Ben Pfaff wrote: > On Fri, Aug 21, 2015 at 07:14:33PM +, Jason Burns wrote: >> Can the balance-slb bond mode in Open vSwitch be used for a bond >> connected to two separate upstream switches? >> >> When I read the documentation [1] it states

Re: [ovs-discuss] On TCP_CRR test setup in Accelerating Open vSwitch to “Ludicrous Speed”

2015-07-18 Thread Andy Zhou
Hi, Yousong, The 120K and 680K tps are not collected from the same test setups. They are collected a few month apart and on different machines. The 680K tps was collected using 3 machines. One runs netperf in client mode, the middle one runs OVS and the third one runs netperf in server mode. The

Re: [ovs-discuss] one patch was omitted to be pushed to branch-2.3---datapath: Fix recirc bug where skb is double freed

2015-06-15 Thread Andy Zhou
...@yunshan.net.cn wrote: Hi, Andy, Do you need any other information to figure out this problem? ZHANG Zhiming Yunshan Networks From: Andy Zhou Date: 2015-05-27 10:13 To: zhangzhiming CC: Alex Wang; discuss Subject: Re: Re: [ovs-discuss] one patch

Re: [ovs-discuss] one patch was omitted to be pushed to branch-2.3---datapath: Fix recirc bug where skb is double freed

2015-05-26 Thread Andy Zhou
On Tue, May 26, 2015 at 6:18 AM, ZHANG Zhiming zhangzhim...@yunshan.net.cn wrote: Hi Andy, Is this the patch for the bug I found? Thanks a lot! [ovs-dev] [PATCH] ofproto/bond: Fix a race condition in updating post recirculation rules Unlikely. It is a user space bug fix and should not

Re: [ovs-discuss] one patch was omitted to be pushed to branch-2.3---datapath: Fix recirc bug where skb is double freed

2015-05-26 Thread Andy Zhou
On Sun, May 24, 2015 at 1:46 AM, ZHANG Zhiming zhangzhim...@yunshan.net.cn wrote: Hi, Here you are. This bug is triggered by configuring bond_mode=banlace-tcp and lacp=active simultaneously. The version of OVS is 2.3.1. Thanks, this helps. The backtrace suggested there is a stack

Re: [ovs-discuss] one patch was omitted to be pushed to branch-2.3---datapath: Fix recirc bug where skb is double freed

2015-05-22 Thread Andy Zhou
the patch and submit it to branch-2.3? Thanks! Here is the patch information: commit 867e37ba00091b3e319c4c47c1598f1ae84dd32e Author: Andy Zhou az...@nicira.com Date: Mon Aug 25 15:18:19 2014 -0700 datapath: Fix recirc bug where skb is double freed. If recirc action is the last

Re: [ovs-discuss] looking for a good explanation of core dumps and backtraces

2015-02-14 Thread Andy Zhou
A quick web search did not lead to anything directly usable. How about the following. --- Core files are usually generated in the same directory as the running program with a name 'core'. However, whether a core file will be generated, its filename and

Re: [ovs-discuss] Fwd: OVS segfault in recirculation

2015-02-13 Thread Andy Zhou
running all across the weekend and I'll come back to you with my results on Monday. Thank you for your very fast response and for your effort, Salvatore On 13/02/15 02:10, Andy Zhou wrote: Does not mean to drop the list. -- Forwarded message -- From: Andy Zhou az

Re: [ovs-discuss] OVS segfault in recirculation

2015-02-12 Thread Andy Zhou
I will take a look. On Thu, Feb 12, 2015 at 10:28 AM, Salvatore Cambria salvatore.camb...@citrix.com wrote: On 12/02/15 07:57, Ben Pfaff wrote: On Tue, Feb 10, 2015 at 03:57:04PM +, Salvatore Cambria wrote: I am a Software Engineer from Citrix, Cambridge UK office. We are having a

[ovs-discuss] Fwd: OVS segfault in recirculation

2015-02-12 Thread Andy Zhou
Does not mean to drop the list. -- Forwarded message -- From: Andy Zhou az...@nicira.com Date: Thu, Feb 12, 2015 at 3:42 PM Subject: Re: [ovs-discuss] OVS segfault in recirculation To: Salvatore Cambria salvatore.camb...@citrix.com Hi, Salvatore, I think I found a bug

Re: [ovs-discuss] OVS support for LLDP

2014-12-19 Thread Andy Zhou
I am not aware of any new features added for LLDP. You can probably write flows that match on LLDP ethernet type and mac address and forward them. Andy On Fri, Dec 19, 2014 at 7:10 AM, Shankari Vaidyalingam shankari.v.2...@gmail.com wrote: Hi, I'd like to know whether the latest version of

Re: [ovs-discuss] Aboutopenvswitch/tests/test-netflow

2014-04-22 Thread Andy Zhou
What's the output of sudo ./test-netflow 0:192.168.5.62. On Tue, Apr 22, 2014 at 8:24 AM, 岳喜春 yuexichunliv...@163.com wrote: Hello! Why didn't it work when I ran the file test-netflow? I ran it like this:sudo ./test-netflow UDP:192.168.5.62. 192.168.5.62 is the ip of my host.Nothing

Re: [ovs-discuss] How to close mac learning of OVS ?

2013-12-17 Thread Andy Zhou
understand the point 2. Can you give me a example ? Thanks! -- Original -- *From: * Andy Zhou;az...@nicira.com; *Date: * Wed, Dec 18, 2013 02:52 PM *To: * Ben Pfaffb...@nicira.com; *Cc: * 張ふ渏303429...@qq.com; discuss@openvswitch.org discuss@openvswitch.org; *Subject

Re: [ovs-discuss] Analyzing crash log,after network freeze

2013-11-07 Thread Andy Zhou
, Nov 7, 2013 at 1:21 AM, Andy Zhou az...@nicira.com wrote: It does look like OVS related. On Wed, Nov 6, 2013 at 3:42 AM, kevin parker kevin.parker...@gmail.comwrote: Hello All, One of our xen server server stopped responding after few network tests,can some one please help

Re: [ovs-discuss] Help in understanding the code

2013-07-15 Thread Andy Zhou
, 2013 at 8:08 PM, Andy Zhou az...@nicira.com wrote: The remaining icmp packets are indeed processed in the kernel (via ovs_dp_process_received_packet()). ovs-vswitchd will install a flow entry in the kernel to handle those packets. You can inspect kernel flows with ovs-dpctl dump-flows. VLOG_INFO

Re: [ovs-discuss] problem in multiple bridge creation

2013-07-11 Thread Andy Zhou
${BRIF2} datapath_type=netdev ifconfig ${NETIF} 0 ifconfig ${NETIF1} 0 ifconfig ${NETIF2} 0 ifconfig ${BRIF} ${STATION_IP} netmask ${NETMASK} ifconfig ${BRIF1} ${STATION_IP1} netmask ${NETMASK} ifconfig ${BRIF2} ${STATION_IP2} netmask ${NETMASK} On Thu, Jul 11, 2013 at 10:29 AM, Andy Zhou

Re: [ovs-discuss] Help in understanding the code

2013-07-10 Thread Andy Zhou
The remaining icmp packets are indeed processed in the kernel (via ovs_dp_process_received_packet()). ovs-vswitchd will install a flow entry in the kernel to handle those packets. You can inspect kernel flows with ovs-dpctl dump-flows. VLOG_INFO is only for user space programs. I am surprised it