Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[vxlanmgrd]: Fix for vxlanmgrd cannot correctly work after config rel…
…oad (sonic-net#934) * [vxlanmgrd]: Fix for vxlanmgrd cannot correctly work after config reload - What I did Clear old vxlan devices that were created at last time - Why I did it 1. "config reload" command will kill the swss container, which will make the vxlanmgrd loss the cache information. And to execute "ip link add xxx " command will fail after the vxlanmgrd process restart, because the vxlan device has been created. 2. The Vnet was deleted by modifying config_db.json, and then execute "config reload" command, which will kill vxlanmgrd process. And when vxlanmgrd restart again, it will cannot receive the delete message, because the redis database also was clear after "config reload". So those vxlan devices will become garbage until the kernel restart. - How I verified it Test it in Chassis topology. Signed-off-by: Ze Gan <ganze718@gmail.com> * Change ip addr to ip link to reduce the output Signed-off-by: Ze Gan <ganze718@gmail.com>
- Loading branch information