From 88f69f88b877e14ae3fb842ae74c1316dc6dee0a Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 20 Dec 2011 16:50:17 -0800 Subject: [PATCH] vswitchd: Document what changes to the database flush the flow table. Requested-by: Hao Zheng Signed-off-by: Ben Pfaff --- vswitchd/vswitch.xml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml index 84d91da2f..2f9a534d4 100644 --- a/vswitchd/vswitch.xml +++ b/vswitchd/vswitch.xml @@ -372,8 +372,20 @@ - OpenFlow controller set. If unset, then no OpenFlow controllers - will be used. +

+ OpenFlow controller set. If unset, then no OpenFlow controllers + will be used. +

+ +

+ If there are primary controllers, removing all of them clears the + flow table. If there are no primary controllers, adding one also + clears the flow table. Other changes to the set of controllers, such + as adding or removing a service controller, adding another primary + controller to supplement an existing primary controller, or removing + only one of two primary controllers, have no effect on the flow + table. +

@@ -406,6 +418,10 @@

When more than one controller is configured, is considered only when none of the configured controllers can be contacted.

+

+ Changing when no primary controllers are + configured clears the flow table. +

-- 2.45.2