Fix for additional intf flap during fast-reboot (#9166)
This commit is contained in:
parent
de3a928c7c
commit
8544147a70
@ -23,6 +23,12 @@ function fast_reboot {
|
||||
mv -f /default_routes.json /default_routes.json.1
|
||||
fi
|
||||
|
||||
if [[ -f /media_config.json ]];
|
||||
then
|
||||
swssconfig /media_config.json
|
||||
mv -f /media_config.json /media_config.json.1
|
||||
fi
|
||||
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
|
@ -196,6 +196,7 @@ function postStartAction()
|
||||
test -e /host/fast-reboot/fdb.json && docker cp /host/fast-reboot/fdb.json swss$DEV:/
|
||||
test -e /host/fast-reboot/arp.json && docker cp /host/fast-reboot/arp.json swss$DEV:/
|
||||
test -e /host/fast-reboot/default_routes.json && docker cp /host/fast-reboot/default_routes.json swss$DEV:/
|
||||
test -e /host/fast-reboot/media_config.json && docker cp /host/fast-reboot/media_config.json swss$DEV:/
|
||||
rm -fr /host/fast-reboot
|
||||
fi
|
||||
docker exec swss$DEV touch /ready # signal swssconfig.sh to go
|
||||
|
Loading…
Reference in New Issue
Block a user