Commit 61c7478a authored by Timothy Redaelli's avatar Timothy Redaelli Committed by Ben Pfaff

ovs-ctl: Add delete-transient-ports command

Add a command to delete all ports that have the other_config:transient value
set to true.
Acked-by: default avatarAaron Conole <aconole@redhat.com>
Signed-off-by: default avatarTimothy Redaelli <tredaelli@redhat.com>
Signed-off-by: default avatarBen Pfaff <blp@ovn.org>
parent 7827edca
......@@ -44,6 +44,8 @@ ovs\-ctl \- OVS startup helper script
[\fB\-\-dport=\fIdport\fR]
\fBenable\-protocol\fR
.br
\fBovs\-ctl delete\-transient\-ports
.br
\fBovs\-ctl help \fR| \fB\-h \fR| \fB\-\-help
.br
\fBovs\-ctl \-\-version
......@@ -412,6 +414,10 @@ TCP or UDP source or destination port to match. These are optional
and allowed only with \fB\-\-protocol=tcp\fR or
\fB\-\-protocol=udp\fR.
.
.SH "The ``delete\-transient\-ports'' command"
.
Deletes all ports that have the \fBother_config:transient\fR value set to true.
.
.SH "The ``help'' command"
.
Prints a usage message and exits successfully.
......
......@@ -558,16 +558,17 @@ This program is intended to be invoked internally by Open vSwitch startup
scripts. System administrators should not normally invoke it directly.
Commands:
start start Open vSwitch daemons
stop stop Open vSwitch daemons
restart stop and start Open vSwitch daemons
status check whether Open vSwitch daemons are running
version print versions of Open vSwitch daemons
load-kmod insert modules if not already present
force-reload-kmod save OVS network device state, stop OVS, unload kernel
module, reload kernel module, start OVS, restore state
enable-protocol enable protocol specified in options with iptables
help display this help message
start start Open vSwitch daemons
stop stop Open vSwitch daemons
restart stop and start Open vSwitch daemons
status check whether Open vSwitch daemons are running
version print versions of Open vSwitch daemons
load-kmod insert modules if not already present
force-reload-kmod save OVS network device state, stop OVS, unload kernel
module, reload kernel module, start OVS, restore state
enable-protocol enable protocol specified in options with iptables
delete-transient-ports delete transient (other_config:transient=true) ports
help display this help message
One of the following options is required for "start", "restart" and "force-reload-kmod":
--system-id=UUID set specific ID to uniquely identify this system
......@@ -730,6 +731,9 @@ case $command in
enable-protocol)
enable_protocol
;;
delete-transient-ports)
del_transient_ports
;;
help)
usage
;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment