Fix for additional intf flap during fast-reboot (#9166)
This commit is contained in:
parent
bea36d963e
commit
9a1b1bc44e
@ -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
|
||||
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
|
@ -158,6 +158,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
|
||||
|
Reference in New Issue
Block a user