sonic-buildimage/dockers/docker-orchagent
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
..
base_image_files [base image files] All 'docker exec' wrapper scripts now dynamically adjust their flags depending on whether or not they are run on a terminal (#1507) 2018-03-17 00:43:29 -07:00
Dockerfile.j2 Restore neighbor table to kernel during system warm-reboot (#2213) 2018-11-09 17:06:09 -08:00
enable_counters.py [swss]: Start counter from swss container (#1875) 2018-07-26 13:39:08 -07:00
ipinip.json.j2 [ipinip] Fix ipinip.json.j2 for mlnx platform (#2210) 2018-10-30 11:02:06 -07:00
orchagent.sh [platform]: update centec platform drivers and sai (#1702) 2018-08-12 17:22:08 -07:00
ports.json.j2 Buffers configuration update on port speed change (#1345) 2018-01-29 08:11:05 -08:00
start.sh Restore neighbor table to kernel during system warm-reboot (#2213) 2018-11-09 17:06:09 -08:00
supervisord.conf Restore neighbor table to kernel during system warm-reboot (#2213) 2018-11-09 17:06:09 -08:00
switch.json.j2 [swss]: Change the hash seed to 0 for ToR and 10 for Leaf routers (#1667) 2018-05-01 21:58:33 -07:00
swssconfig.sh Adapt to the new WARM_RESTART_TABLE table schema: change from restart… (#2083) 2018-10-02 06:08:26 -07:00