[ovs-discuss] How to know lifetime of each matched flow?
blp at ovn.org
Sat Mar 7 17:58:31 UTC 2020
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 the total number of
> bytes and packets in the output of dump-flows?
If you want to install a pair of flow entries for each connection, you
can do that. It doesn't scale well to large numbers of connections
because of the burden of installing all the flows.
> Ben Pfaff <blp at ovn.org> 于2020年3月7日周六 上午3:27写道：
> > 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 switch.
> > >
> > > BUT, how can I know when does each matched flow start and stop?
> > If you need to know that for individual connections, you might want to
> > try NetFlow.
> Su Jinzhao(苏金钊)
More information about the discuss