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

[Fast-Reboot]: Add directed GARP #178

Merged
merged 3 commits into from
Dec 20, 2017

Conversation

pavel-shirshov
Copy link
Contributor

- What I did
Added a new functionality into fast-reboot-dumper.py. This script is called right before fast-reboot procedure to save dumps of fdb and arp entries. I've added a new functionality - send directed GARP requests for every NEIGHBOR entry in SONiC. It allows SONiC to be sure that host machines on vlan interfaces will keep their arp entries to SONiC device as long as possible. Previously host machines could expire arp entries to SONiC device when SONiC device in Fast-Reboot procedure.

- How I did it
I extract all required information from arp and fdb entries and then generate ARP entries using Linux raw sockets

- How to verify it
Use tcpdump sudo tcpdump -iEthernet10 -nevv for example

- Previous command output (if the output of a command-line utility has changed)

- New command output (if the output of a command-line utility has changed)

@pavel-shirshov pavel-shirshov merged commit 24ca577 into sonic-net:master Dec 20, 2017
@pavel-shirshov pavel-shirshov deleted the pavelsh/garp branch December 20, 2017 20:53
stepanblyschak pushed a commit to stepanblyschak/sonic-utilities that referenced this pull request Apr 28, 2022
[201911] [xcvrd] Gracefully handle improper 'specification_compliance' field; also fix other potential bugs (sonic-net#178)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
mihirpat1 pushed a commit to mihirpat1/sonic-utilities that referenced this pull request Sep 15, 2023
Description
Update ThermalManagerBase to load an interval field from thermal_policy.json if it is available and provide a getter for this interval.

Motivation and Context
This interval can be used by thermalctld to run policies at an interval specified in thermal_policy.json, rather than a fixed constant (currently 60 seconds).

How Has This Been Tested?
Verified that thermalctld runs without exiting.
Also ran test_thermalctld.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants