OK, will make it a separate command.

On Mon, May 24, 2021 at 8:44 PM Ben Pfaff <[email protected]> wrote:

> On Sat, May 22, 2021 at 10:56:13PM +0300, Alexey Roytman wrote:
> > From: Alexey Roytman <[email protected]>
> >
> > For big scale deployments, when number of logical flows can be 2M+,
> > sometimes users just need to know the total number of logical flows
> > and numbers of logical flows per table/per datapath.
> >
> > New command output
> > Datapath: "sw1" (4b1e53d8-9f0f-4768-b4a6-6cbc58a4bfda) pipeline: ingress
> >   table=0 (ls_in_port_sec_l2  ) lflows=2
> >   table=1 (ls_in_port_sec_ip  ) lflows=1
>
> If adding  "--count" to "dump-flows" makes it no longer list flows, I
> think it would be better to make it a "count-flows" command.  We have
> precedent for adding statistics to a command (rather than dropping the
> full output) by adding -s or --stats.
>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to