From c01e8f89a9d5d62f029312483303c757730ed492 Mon Sep 17 00:00:00 2001 From: Stepan Blyschak Date: Thu, 14 Mar 2024 14:29:45 +0200 Subject: [PATCH 1/2] [fast/warm-reboot] Retain TRANSCEIVER_INFO/STATUS tables on reboot Signed-off-by: Stepan Blyschak --- scripts/fast-reboot | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/fast-reboot b/scripts/fast-reboot index f265318aa2..0c52b6d7c2 100755 --- a/scripts/fast-reboot +++ b/scripts/fast-reboot @@ -252,6 +252,8 @@ function backup_database() and not string.match(k, 'MIRROR_SESSION_TABLE|') \ and not string.match(k, 'FG_ROUTE_TABLE|') \ and not string.match(k, 'WARM_RESTART_ENABLE_TABLE|') \ + and not string.match(k, 'TRANSCEIVER_INFO|') \ + and not string.match(k, 'TRANSCEIVER_STATUS|') \ and not string.match(k, 'VXLAN_TUNNEL_TABLE|') \ and not string.match(k, 'BUFFER_MAX_PARAM_TABLE|') \ and not string.match(k, 'FAST_RESTART_ENABLE_TABLE|') then From ef44af8b13c8e2d34eb5897d56af1396cc16576c Mon Sep 17 00:00:00 2001 From: Stepan Blyshchak <38952541+stepanblyschak@users.noreply.github.com> Date: Mon, 15 Apr 2024 18:11:42 +0300 Subject: [PATCH 2/2] Remove TRANSCEIVER_STATUS --- scripts/fast-reboot | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/fast-reboot b/scripts/fast-reboot index 0c52b6d7c2..91791b3771 100755 --- a/scripts/fast-reboot +++ b/scripts/fast-reboot @@ -253,7 +253,6 @@ function backup_database() and not string.match(k, 'FG_ROUTE_TABLE|') \ and not string.match(k, 'WARM_RESTART_ENABLE_TABLE|') \ and not string.match(k, 'TRANSCEIVER_INFO|') \ - and not string.match(k, 'TRANSCEIVER_STATUS|') \ and not string.match(k, 'VXLAN_TUNNEL_TABLE|') \ and not string.match(k, 'BUFFER_MAX_PARAM_TABLE|') \ and not string.match(k, 'FAST_RESTART_ENABLE_TABLE|') then