On Wed, 13 Sep 2017 09:35:32 +0200 Timothy Redaelli <tredae...@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 > To the set Acked-by: Flavio Leitner <f...@sysclose.org> This will help OVS to start fresh after a system crash or incomplete shutdown. -- Flavio _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev