On Fri, 3 Nov 2017 21:39:17 +0100 Timothy Redaelli <[email protected]> wrote:
> The reload procedure will trigger a script that saves the flows and tlv > maps (using ovs-save) then it restarts ovsdb-server, it stops ovs-vswitchd, > it sets other_config:flow-restore-wait=true (to wait till flow restore is > finished), it starts ovs-vswitchd, it restore the backupped flows/tlv > maps and it removes other_config:flow-restore-wait=true (logic mostly ripped > from ovs-ctl). > > It uses systemctl with --job-mode=ignore-dependencies to restart ovsdb-server > and stop and start ovs-vswitchd in order to avoid systemd to restart the other > components due to dependencies (as explained in rhel/README.RHEL.rst). > > Signed-off-by: Timothy Redaelli <[email protected]> > --- > v1->v2: > * Renamed the script from ovs-reload to ovs-systemd-reload > (as suggested by Flavio Leitner) > --- > rhel/automake.mk | 1 + > rhel/openvswitch-fedora.spec.in | 5 +++ > rhel/usr_lib_systemd_system_openvswitch.service | 2 +- > rhel/usr_lib_systemd_system_ovsdb-server.service | 1 - > ...sr_share_openvswitch_scripts_ovs-systemd-reload | 36 > ++++++++++++++++++++++ > 5 files changed, 43 insertions(+), 2 deletions(-) > create mode 100755 rhel/usr_share_openvswitch_scripts_ovs-systemd-reload Acked-by: Flavio Leitner <[email protected]> Thanks! fbl _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
