]> git.proxmox.com Git - mirror_ovs.git/commit - NEWS
dpctl: add CT Stats for Connections per protocol.
authorAntonio Fischetti <antonio.fischetti@intel.com>
Fri, 23 Jun 2017 12:28:21 +0000 (13:28 +0100)
committerBen Pfaff <blp@ovn.org>
Tue, 11 Jul 2017 19:45:31 +0000 (12:45 -0700)
commit8a0d9d85b3efa2b107c4e93b7acddb5137fab18b
treef65bc838e7246976674837f18d126236d18ba561
parent1401f6deb6758ef43ca4cd9c3f603e8e955b67f4
dpctl: add CT Stats for Connections per protocol.

Adds CT stats to report number of connections grouped by
protocol.
By using
 utilities/ovs-appctl dpctl/ct-stats-show
it can display something like:
Connections Stats:
    Total: 1808
        TCP: 1808

With the verbose options:
 utilities/ovs-appctl dpctl/ct-stats-show verbose
it can display:
Connections Stats:
    Total: 2671
        TCP: 2671
          Conn per TCP states:
          [ESTABLISHED]=1000
          [CLOSING]=1
          [TIME_WAIT]=1670

Signed-off-by: Antonio Fischetti <antonio.fischetti@intel.com>
Signed-off-by: Bhanuprakash Bodireddy <bhanuprakash.bodireddy@intel.com>
Co-authored-by: Bhanuprakash Bodireddy <bhanuprakash.bodireddy@intel.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
NEWS
lib/ct-dpif.c
lib/ct-dpif.h
lib/dpctl.c
lib/dpctl.man
utilities/ovs-dpctl.c