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.
......
......@@ -567,6 +567,7 @@ Commands:
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":
......@@ -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