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

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

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

2020-03-06 Thread Ben Pfaff
On Fri, Mar 06, 2020 at 08:27:38PM +0800, Su Jinzhao wrote: > I noticed that for each flow entry or meter, there are n_bytes, n_pkts, > duration field with the output of dump-flows or meter-stats command. I know > that the duration field for a flow entry is the time since it installed in > the swit

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

2020-03-06 Thread Su Jinzhao
Hi, Guys: I noticed that for each flow entry or meter, there are n_bytes, n_pkts, duration field with the output of dump-flows or meter-stats command. I know that the duration field for a flow entry is the time since it installed in the switch. BUT, how can I know when does each matched flow star