From 6a9722fe0953b8e8ad92696090bf0468956ccf9c Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 18 Jul 2016 10:55:05 -0700 Subject: [PATCH] ovs-vsctl: Add another Flow_Table example. Signed-off-by: Ben Pfaff Acked-by: Ryan Moats --- utilities/ovs-vsctl.8.in | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/utilities/ovs-vsctl.8.in b/utilities/ovs-vsctl.8.in index 265ffde38..41288018c 100644 --- a/utilities/ovs-vsctl.8.in +++ b/utilities/ovs-vsctl.8.in @@ -875,9 +875,16 @@ Configure bridge \fBbr0\fR to support OpenFlow versions 1.0, 1.2, and .B "ovs\-vsctl set bridge br0 protocols=OpenFlow10,OpenFlow12,OpenFlow13" . .SS "Flow Table Configuration" -Limit flow table 0 on bridge br0 to a maximum of 100 flows: +Make flow table 0 on bridge br0 refuse to accept more than 100 flows: .IP .B "ovs\-vsctl \-\- \-\-id=@ft create Flow_Table flow_limit=100 overflow_policy=refuse \-\- set Bridge br0 flow_tables=0=@ft" +. +.PP +Make flow table 0 on bridge br0 evict flows, with fairness based on +the matched ingress port, when there are more than 100: +. +.IP +.B "ovs\-vsctl \-\- \-\-id=@ft create Flow_Table flow_limit=100 overflow_policy=evict groups='\(dqNXM_OF_IN_PORT[]\(dq' \-\- set Bridge br0 flow_tables:0=@ft" .SH "EXIT STATUS" .IP "0" Successful program execution. -- 2.20.1