This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
sonic-buildimage/platform/vs/docker-sonic-vs
zhenggen-xu 51a76614a3 Restore neighbor table to kernel during system warm-reboot (#2213)
* Restore neighbor table to kernel during system warm-reboot

Added a service: "restore_neighbors" to restore neighbor table into
kernel during system warm reboot. The service is started by supervisord
in swss docker when the docker is started.

In case system warm reboot is enabled, it will try to restore the neighbor
table from appDB into kernel through netlink API calls and update the neighbor
table by sending arp/ns requests to all neighbor entries, then it sets the
stateDB flag for neighsyncd to continue the reconciliation process.

-- Added tcpdump python-scapy debian package into orchagent and vs dockers.
-- Added python module: pyroute2 netifaces into orchagent and vc dockers.
-- Workarounded tcpdump issue in the vs docker

Signed-off-by: Zhenggen Xu <zxu@linkedin.com>

* Move the restore_neighbors.py to sonic-swss submodule
Made changes to makefiles accordingly

Make dockerfile.j2 changes and supervisord config changes

Add python monotonic lib for time access

Signed-off-by: Zhenggen Xu <zxu@linkedin.com>

* Added PYTHON_SWSSCOMMON as swss runtime dependency

Signed-off-by: Zhenggen Xu <zxu@linkedin.com>
2018-11-09 17:06:09 -08:00
..
50-default.conf [virtualswitch]: build docker-sonic-vs docker based on SAI virtual switch (#1065) 2017-10-23 22:01:42 -07:00
brcm.profile.ini [virtualswitch]: build docker-sonic-vs docker based on SAI virtual switch (#1065) 2017-10-23 22:01:42 -07:00
buffers.json.j2 Buffers configuration update on port speed change (#1345) 2018-01-29 08:11:05 -08:00
Dockerfile.j2 Restore neighbor table to kernel during system warm-reboot (#2213) 2018-11-09 17:06:09 -08:00
orchagent.sh [vs]: set platform=vs for orchagent (#1860) 2018-07-13 00:07:30 -07:00
pg_profile_lookup.ini Buffers configuration update on port speed change (#1345) 2018-01-29 08:11:05 -08:00
sonic-dev.gpg.key [vs]: add vlan configuration support in virtual switch (#1200) 2017-11-30 14:59:25 -08:00
start.sh [teamd]: Add teammgrd in docker-teamd (#2064) 2018-10-19 03:41:53 -07:00
supervisord.conf Restore neighbor table to kernel during system warm-reboot (#2213) 2018-11-09 17:06:09 -08:00