sonic-buildimage/platform
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
..
barefoot [barefoot]: Add carrier change (oper state) for bf_tun tap intf (#2218) 2018-10-31 15:32:04 -07:00
broadcom [platform]Accton, add platform as6712-32x. (#2178) 2018-10-26 17:10:47 -07:00
cavium [build]: install debug symbols packages when INSTALL_DEBUG_TOOLS=y (#2175) 2018-10-21 17:20:27 -07:00
centec [build]: install debug symbols packages when INSTALL_DEBUG_TOOLS=y (#2175) 2018-10-21 17:20:27 -07:00
generic add INSTALLS, LAZY_INSTALLS, DEPENDS targets to image build (#1159) 2017-11-16 12:27:03 -08:00
marvell [build]: install debug symbols packages when INSTALL_DEBUG_TOOLS=y (#2175) 2018-10-21 17:20:27 -07:00
mellanox [mellanox]: Update MFT to v4.9.0 (#2232) 2018-11-07 21:58:59 -08:00
nephos [Nephos]: Add Porsch project with Nephos (#2224) 2018-11-09 14:01:43 -08:00
p4 [rsyslog]: use # to separate container name and program name in syslog message for syncd containers (#2031) 2018-09-11 14:57:29 -07:00
vs Restore neighbor table to kernel during system warm-reboot (#2213) 2018-11-09 17:06:09 -08:00