[ovs-dev] [PATCH v4 0/2] Add system service to delete transient ports on boot.

Flavio Leitner fbl at sysclose.org
Fri Oct 27 12:39:37 UTC 2017


On Wed, 13 Sep 2017 09:35:32 +0200
Timothy Redaelli <tredaelli at redhat.com> wrote:

> Add a systemd service file that is only executed the first time
> ovsdb-server starts after boot and that removes all transient ports
> (--delete-transient-ports).
> 
> This is important on certain environments where some ports are going to be
> recreated after reboot, but other ports need to be persisted in the database.
> 
> v4:
>     Changed approach to do not use run directory, but to use an
>     additional systemd service instead.
> 
> v3:
>     Added coverletter.
>     Rebased and modified due to non-root user patchsets.
> 
> v2:
>     Added --delete-transient-ports-on-boot flag to manpage.
> 
> Timothy Redaelli (2):
>   ovs-ctl: Add delete-transient-ports command
>   rhel: Add systemd support to delete transient ports only on boot
> 
>  rhel/automake.mk                                   |  1 +
>  rhel/openvswitch-fedora.spec.in                    |  3 ++-
>  ...stemd_system_ovs-delete-transient-ports.service | 10 +++++++++
>  rhel/usr_lib_systemd_system_ovsdb-server.service   |  1 +
>  utilities/ovs-ctl.8                                |  6 ++++++
>  utilities/ovs-ctl.in                               | 24 +++++++++++++---------
>  6 files changed, 34 insertions(+), 11 deletions(-)
>  create mode 100644 rhel/usr_lib_systemd_system_ovs-delete-transient-ports.service

Acked-by: Flavio Leitner <fbl at sysclose.org>
Thanks!
fbl



More information about the dev mailing list