Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore neighbor table to kernel during system warm-reboot #2213

Merged
merged 3 commits into from
Nov 10, 2018

Commits on Nov 8, 2018

  1. 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>
    zhenggen-xu committed Nov 8, 2018
    Configuration menu
    Copy the full SHA
    0ca4d2a View commit details
    Browse the repository at this point in the history
  2. 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>
    zhenggen-xu committed Nov 8, 2018
    Configuration menu
    Copy the full SHA
    e919245 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2018

  1. Added PYTHON_SWSSCOMMON as swss runtime dependency

    Signed-off-by: Zhenggen Xu <zxu@linkedin.com>
    zhenggen-xu committed Nov 9, 2018
    Configuration menu
    Copy the full SHA
    4e8d79c View commit details
    Browse the repository at this point in the history