Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fast-reboot] Back up FDB/ARP/Default routes #4795

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions dockers/docker-orchagent/swssconfig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ function fast_reboot {
if [[ -f /fdb.json ]];
then
swssconfig /fdb.json
rm -f /fdb.json
mv -f /fdb.json /fdb.json.1
fi

if [[ -f /arp.json ]];
then
swssconfig /arp.json
rm -f /arp.json
mv -f /arp.json /arp.json.1
fi

if [[ -f /default_routes.json ]];
then
swssconfig /default_routes.json
rm -f /default_routes.json
mv -f /default_routes.json /default_routes.json.1
fi

;;
Expand Down