From: Ben Pfaff Date: Thu, 15 Jan 2009 21:55:52 +0000 (-0800) Subject: secchan: Document --rate-limit and --burst-limit options in manpage. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b186155435378712633d3a3274b5f99235001e87;p=openvswitch secchan: Document --rate-limit and --burst-limit options in manpage. Fixes bug #674. --- diff --git a/secchan/secchan.8.in b/secchan/secchan.8.in index 95e47e9c..18d1ef3e 100644 --- a/secchan/secchan.8.in +++ b/secchan/secchan.8.in @@ -371,6 +371,34 @@ The default will change to \fB--stp\fR at some point in the future. When flows end on the switch, send NetFlow v5 messages to \fIhost\fR on UDP \fIport\fR. +.SS "Rate-Limiting Options" + +These options configure how the switch applies a ``token bucket'' to +limit the rate at which packets in unknown flows are forwarded to an +OpenFlow controller for flow-setup processing. This feature prevents +a single OpenFlow switch from overwhelming a controller. + +.TP +\fB--rate-limit\fR[\fB=\fIrate\fR] +. +Limits the maximum rate at which packets will be forwarded to the +OpenFlow controller to \fIrate\fR packets per second. If \fIrate\fR +is not specified then the default of 1,000 packets per second is used. + +If \fB--rate-limit\fR is not used, then the switch does not limit the +rate at which packets are forwarded to the controller. + +.TP +\fB--burst-limit=\fIburst\fR +. +Sets the maximum number of unused packet credits that the switch will +allow to accumulate during time in which no packets are being +forwarded to the OpenFlow controller to \fIburst\fR (measured in +packets). The default \fIburst\fR is one-quarter of the \fIrate\fR +specified on \fB--rate-limit\fR. + +This option takes effect only when \fB--rate-limit\fR is also specified. + .SS "Remote Command Execution Options" .TP