Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[warm boot] move warm reboot/fast reboot knowledge to syncd service s…
…cript (#372) * [warm boot] set warm boot flag before killing swss docker Kill swss docker will cause service swss to fail, systemctrl will then stop swss as result. If the flag is not set, swss will also stop syncd without letting syncd to warm shutdown. Signed-off-by: Ying Xie <ying.xie@microsoft.com> * [fast/warm reboot] let syncd service handle different types of shutdowns Signed-off-by: Ying Xie <ying.xie@microsoft.com> * [warm/fast reboot] stop execution after error Signed-off-by: Ying Xie <ying.xie@microsoft.com> * [warm boot] set warm boot flag earlier and clear it on error Signed-off-by: Ying Xie <ying.xie@microsoft.com> * [warm boot] stop syncd before backing up database Signed-off-by: Ying Xie <ying.xie@microsoft.com>
- Loading branch information