Commands are added to:
Get the number of conntrack connections.
Get the maximum limit of conntrack connections.
Set the maximum limit of conntrack connections.

These commands are only supported in the userspace
datapath at this time.

A supporting test is added.

Darrell Ball (3):
  dpctl conntrack: Add get and set maxconns command.
  dpctl conntrack: Add get number of connections command.
  tests: Add dpctl test for conntrack nconns/maxconns.

 lib/conntrack.c                  | 21 +++++++++
 lib/conntrack.h                  |  3 ++
 lib/ct-dpif.c                    | 24 ++++++++++
 lib/ct-dpif.h                    |  3 ++
 lib/dpctl.c                      | 94 ++++++++++++++++++++++++++++++++++++++++
 lib/dpctl.man                    | 18 ++++++++
 lib/dpif-netdev.c                | 27 ++++++++++++
 lib/dpif-netlink.c               |  3 ++
 lib/dpif-provider.h              |  6 +++
 tests/system-kmod-macros.at      | 19 ++++++++
 tests/system-traffic.at          | 85 ++++++++++++++++++++++++++++++++++++
 tests/system-userspace-macros.at | 12 +++++
 12 files changed, 315 insertions(+)

-- 
1.9.1

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to