Sleep done before mismatch handler (#4165)
* Sleep done before mismatch handler
This commit is contained in:
parent
236013142c
commit
7ffa2ccb43
@ -47,6 +47,9 @@ while /bin/true; do
|
|||||||
eval `eval $ip6cmd`
|
eval `eval $ip6cmd`
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# sleep here before handling the mismatch as it is not required during startup
|
||||||
|
sleep 300
|
||||||
|
|
||||||
# refresh neighbor entries from APP_DB in case of mismatch with kernel
|
# refresh neighbor entries from APP_DB in case of mismatch with kernel
|
||||||
DBNEIGH=$(sonic-db-cli APPL_DB keys NEIGH_TABLE*)
|
DBNEIGH=$(sonic-db-cli APPL_DB keys NEIGH_TABLE*)
|
||||||
KERNEIGH4=$(ip -4 neigh show | grep Vlan | cut -d ' ' -f 1,3 --output-delimiter=',')
|
KERNEIGH4=$(ip -4 neigh show | grep Vlan | cut -d ' ' -f 1,3 --output-delimiter=',')
|
||||||
@ -67,5 +70,4 @@ while /bin/true; do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
sleep 300
|
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user