Skip to content

Commit f6deaa2

Browse files
pavel-shirshovlguohan
authored andcommitted
[fast-reboot]: Dump default routes before fast-reboot procedure (#1392)
* Insert default routes into the APPL DB in fast-reboot proceduce Update sonic-utilities submodule
1 parent 971be65 commit f6deaa2

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

dockers/docker-orchagent/swssconfig.sh

+7
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ function fast_reboot {
1616
swssconfig /arp.json
1717
rm -f /arp.json
1818
fi
19+
20+
if [[ -f /default_routes.json ]];
21+
then
22+
swssconfig /default_routes.json
23+
rm -f /default_routes.json
24+
fi
25+
1926
;;
2027
*)
2128
;;

src/sonic-utilities

0 commit comments

Comments
 (0)