diff options
author | Justin Pettit <jpettit@ovn.org> | 2018-06-18 09:00:20 -0700 |
---|---|---|
committer | Justin Pettit <jpettit@ovn.org> | 2018-07-06 14:23:21 -0700 |
commit | 330f6f535e6d050b2a5b577fc9125c0e9300efcf (patch) | |
tree | f3eec22bfba901437439074b92bfbd11ad8866b9 | |
parent | 76b0525822366b9e40f68d8d1de3ef3bf10467a4 (diff) | |
download | openvswitch-330f6f535e6d050b2a5b577fc9125c0e9300efcf.tar.gz |
ovs-ofctl: Clarifications in the Meter Syntax man page section.
This also correct an error that indicated that the burst size is kbps,
when it should be kb.
Signed-off-by: Justin Pettit <jpettit@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
-rw-r--r-- | utilities/ovs-ofctl.8.in | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/utilities/ovs-ofctl.8.in b/utilities/ovs-ofctl.8.in index 5a34383d0..8c6fe2021 100644 --- a/utilities/ovs-ofctl.8.in +++ b/utilities/ovs-ofctl.8.in @@ -2256,16 +2256,17 @@ meters. This field is required, except for \fBmeter-stats\fR, which dumps all stats when this field is not specified. .IP \fBkbps\fR .IQ \fBpktps\fR -The unit for the meter band rate parameters, either kilobits per second, or -packets per second, respectively. One of these must be specified. The burst -size unit corresponds to the rate unit by dropping the "per second", i.e., -burst is in units of kilobits or packets, respectively. +The unit for the \fBrate\fR and \fBburst_size\fR band parameters. +\fBkbps\fR specifies kilobits per second, and \fBpktps\fR specifies +packets per second. A unit is required for the \fBadd-meter\fR and +\fBmod-meter\fR commands. .IP \fBburst\fR -Specify burst size for all bands, or none of them, if this flag is not given. +If set, enables burst support for meter bands through the \fBburst_size\fR +parameter. .IP \fBstats\fR -Collect meter and band statistics. +If set, enables the collection of meter and band statistics. .IP \fBbands\fR=\fIband_parameters\fR The \fBadd-meter\fR and \fBmod-meter\fR commands require at least one @@ -2286,12 +2287,12 @@ Drop packets exceeding the band's rate limit. .IP "The other \fIband_parameters\fR are:" .IP \fBrate=\fIvalue\fR The relative rate limit for this band, in kilobits per second or packets per -second, depending on the meter flags defined above. +second, depending on whether \fBkbps\fR or \fBpktps\fR was specified. .IP \fBburst_size=\fIsize\fR -The maximum burst allowed for the band. If \fBpktps\fR is specified, -then \fIsize\fR is a packet count, otherwise it is in kilobits. If -unspecified, the switch is free to select some reasonable value -depending on its configuration. +If \fBburst\fR is specified for the meter entry, configures the maximum +burst allowed for the band in kilobits or packets, depending on whether +\fBkbps\fR or \fBpktps\fR was specified. If unspecified, the switch is +free to select some reasonable value depending on its configuration. .RE . .SH OPTIONS |