diff mbox series

[ovs-dev,5/5] conntrack: update manual and usage for R/W parameter.

Message ID 1505730091-19042-5-git-send-email-antonio.fischetti@intel.com
State Changes Requested
Delegated to: Darrell Ball
Headers show
Series [ovs-dev,1/5] conntrack: add commands to r/w conntrack parameters. | expand

Commit Message

Fischetti, Antonio Sept. 18, 2017, 10:21 a.m. UTC
Update manual and usage for R/W parameters commands.

Signed-off-by: Antonio Fischetti <antonio.fischetti@intel.com>
 lib/dpctl.man         | 8 ++++++++
 utilities/ovs-dpctl.c | 2 ++
 2 files changed, 10 insertions(+)
diff mbox series


diff --git a/lib/dpctl.man b/lib/dpctl.man
index 675fe5a..836cc08 100644
--- a/lib/dpctl.man
+++ b/lib/dpctl.man
@@ -235,3 +235,11 @@  For each ConnTracker bucket, displays the number of connections used
 by \fIdp\fR.
 If \fBgt=\fIThreshold\fR is specified, bucket numbers are displayed when
 the number of connections in a bucket is greater than \fIThreshold\fR.
+\*(DX\fBct\-set\fR [\fIdp\fR] [\fBParameter=\fIValue\fR]
+Sets a new value for one of the available CT working parameters.
+\*(DX\fBct\-get\fR [\fIdp\fR] [\fBParameter\fR]
+Displays the current value of the specified CT working parameter.
diff --git a/utilities/ovs-dpctl.c b/utilities/ovs-dpctl.c
index 7b005ac..01505f6 100644
--- a/utilities/ovs-dpctl.c
+++ b/utilities/ovs-dpctl.c
@@ -203,6 +203,8 @@  usage(void *userdata OVS_UNUSED)
            "  ct-stats-show [DP] [zone=ZONE] [verbose] " \
                "CT connections grouped by protocol\n"
            "  ct-bkts [DP] [gt=N] display connections per CT bucket\n"
+           "  ct-set PARAM=VALUE set a CT value to a working parameter\n"
+           "  ct-get PARAM display the current CT value of a parameter\n"
            "Each IFACE on add-dp, add-if, and set-if may be followed by\n"
            "comma-separated options.  See ovs-dpctl(8) for syntax, or the\n"
            "Interface table in ovs-vswitchd.conf.db(5) for an options list.\n"