Re: [ovs-discuss] [HELP] Question about Raft

2020-03-07 Thread Han Zhou
On Sat, Mar 7, 2020 at 2:33 AM txfh2007 wrote: > > Hi Han: > > Thanks for your reply ! There is one point that I can't agree with you: "If S2 or S3 already becomes leader, their term won't be lower than S2. " In my test , in step 3, S3 is leader and its term is lower than S2. The reason is whe

Re: [ovs-discuss] How to know lifetime of each matched flow?

2020-03-07 Thread Ben Pfaff
On Sat, Mar 07, 2020 at 06:14:42PM +0800, Su Jinzhao wrote: > So you mean we can't identify when does each flow start and stop just with > OVS ? OVS implements NetFlow. > Suppose we installed per flow entry for each flow, how can we calculate > transmitting rate bps and pps of each flow with just

[ovs-discuss] Re: [HELP] Question about Raft

2020-03-07 Thread txfh2007 via discuss
Hi Han: Thanks for your reply ! There is one point that I can't agree with you: "If S2 or S3 already becomes leader, their term won't be lower than S2. " In my test , in step 3, S3 is leader and its term is lower than S2. The reason is when S2 disconnected from S1 and S3, S2 will add its te

Re: [ovs-discuss] How to know lifetime of each matched flow?

2020-03-07 Thread Su Jinzhao
So you mean we can't identify when does each flow start and stop just with OVS ? Suppose we installed per flow entry for each flow, how can we calculate transmitting rate bps and pps of each flow with just the total number of bytes and packets in the output of dump-flows? Thanks. Ben Pfaff 于2020