Add a command to delete all ports that have the other_config:transient value set to true.
Acked-by: Aaron Conole <[email protected]> Signed-off-by: Timothy Redaelli <[email protected]> --- utilities/ovs-ctl.8 | 6 ++++++ utilities/ovs-ctl.in | 24 ++++++++++++++---------- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/utilities/ovs-ctl.8 b/utilities/ovs-ctl.8 index 84fa33fff..e25223c78 100644 --- a/utilities/ovs-ctl.8 +++ b/utilities/ovs-ctl.8 @@ -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. diff --git a/utilities/ovs-ctl.in b/utilities/ovs-ctl.in index dc1d02c9c..ff39874e0 100755 --- a/utilities/ovs-ctl.in +++ b/utilities/ovs-ctl.in @@ -553,16 +553,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 @@ -725,6 +726,9 @@ case $command in enable-protocol) enable_protocol ;; + delete-transient-ports) + del_transient_ports + ;; help) usage ;; -- 2.13.5 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
