summaryrefslogtreecommitdiff
path: root/vswitchd/ovs-vswitchd.8.in
diff options
context:
space:
mode:
authorAndy Zhou <azhou@ovn.org>2017-04-24 18:55:04 -0700
committerAndy Zhou <azhou@ovn.org>2017-05-03 13:12:03 -0700
commitfe13ccdca6a223eec605041f77acfabd21e1fcb2 (patch)
tree81f886e8130cf26fefc4ded2d4d5f06e8b29ad72 /vswitchd/ovs-vswitchd.8.in
parent401b70d632729555b555040e4cee13a5ffc5ed3d (diff)
downloadopenvswitch-fe13ccdca6a223eec605041f77acfabd21e1fcb2.tar.gz
vswitchd: Add --cleanup option to the 'appctl exit' command
'appctl exit' stops the running vswitchd daemon, without releasing the datapath resources (such as bridges and ports) that vswitchd has created. This is expected when vswitchd is to be relaunched, to reduce the perturbation of exiting traffic and connections. However, when vswitchd is intended to be shutdown permanently, it is desirable not to leak datapath resources. In theory, this can be achieved by removing the corresponding configurations from OVSDB before shutting down vswitchd. However it is not always possible in practice. Sometimes it is convenient and robust for vswitchd to release all datapath resources that it has configured. Add 'appctl exit --cleanup' option for this use case. Signed-off-by: Andy Zhou <azhou@ovn.org> Acked-by: Jarno Rajahalme <jarno@ovn.org>
Diffstat (limited to 'vswitchd/ovs-vswitchd.8.in')
-rw-r--r--vswitchd/ovs-vswitchd.8.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/vswitchd/ovs-vswitchd.8.in b/vswitchd/ovs-vswitchd.8.in
index 8496aa68a..be7bd66c7 100644
--- a/vswitchd/ovs-vswitchd.8.in
+++ b/vswitchd/ovs-vswitchd.8.in
@@ -109,8 +109,11 @@ configuration.
described below. The command descriptions assume an understanding of
how to configure Open vSwitch.
.SS "GENERAL COMMANDS"
-.IP "\fBexit\fR"
-Causes \fBovs\-vswitchd\fR to gracefully terminate.
+.IP "\fBexit\fR \fI--cleanup\fR"
+Causes \fBovs\-vswitchd\fR to gracefully terminate. If \fI--cleanup\fR
+is specified, release datapath resources configured by \fBovs\-vswitchd\fR.
+Otherwise, datapath flows and other resources remains undeleted.
+.
.IP "\fBqos/show-types\fR \fIinterface\fR"
Queries the interface for a list of Quality of Service types that are
configurable via Open vSwitch for the given \fIinterface\fR.