diff options
author | Jarno Rajahalme <jarno@ovn.org> | 2016-09-16 09:39:13 -0700 |
---|---|---|
committer | Jarno Rajahalme <jarno@ovn.org> | 2016-09-16 09:39:13 -0700 |
commit | 60dfb5ed7e925fc98929e966fcf05d90d8f6939b (patch) | |
tree | 9ca04185dda88254940ef2cbf49480b310a88a15 /utilities | |
parent | 8b6667285fe17bbc0b41b071d22eec5954ba3eb0 (diff) | |
download | openvswitch-60dfb5ed7e925fc98929e966fcf05d90d8f6939b.tar.gz |
ofp-parse: Harden checking with group selection_method.
Only allow fields when "selection_method=hash". Only allow
selection_method_param when a non-nil selection_method is given.
Signed-off-by: Jarno Rajahalme <jarno@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'utilities')
-rw-r--r-- | utilities/ovs-ofctl.8.in | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/utilities/ovs-ofctl.8.in b/utilities/ovs-ofctl.8.in index b648ab847..675c3084d 100644 --- a/utilities/ovs-ofctl.8.in +++ b/utilities/ovs-ofctl.8.in @@ -2887,14 +2887,14 @@ when using Open vSwitch 2.4 and later with OpenFlow 1.5 and later. .IP \fBfields\fR=\fIfield\fR .IQ \fBfields(\fIfield\fR[\fB=\fImask\fR]\fR...\fB)\fR The field parameters to selection method selected by the -\fBselection_method\fR field. The syntax is described in \fBFlow Syntax\fR -with the additional restrictions that if a value is provided it is -treated as a wildcard mask and wildcard masks following a slash are -prohibited. The pre-requisites of fields must be provided by any flows that -output to the group. The use of the fields is defined by the lower-layer -that implements the \fBselection_method\fR. They are optional if the -\fBselection_method\fR field is specified as a non-empty string. -Prohibited otherwise. The default is no fields. +\fBselection_method\fR field. The syntax is described in \fBFlow +Syntax\fR with the additional restrictions that if a value is provided +it is treated as a wildcard mask and wildcard masks following a slash +are prohibited. The pre-requisites of fields must be provided by any +flows that output to the group. The use of the fields is defined by +the lower-layer that implements the \fBselection_method\fR. They are +optional if the \fBselection_method\fR field is specified as ``hash', +prohibited otherwise. The default is no fields. .IP This option will use a Netronome OpenFlow extension which is only supported when using Open vSwitch 2.4 and later with OpenFlow 1.5 and later. |