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

[intfmgr]: Add GARP support #1503

Merged
merged 6 commits into from
Nov 20, 2020
Merged

Conversation

theasianpianist
Copy link
Contributor

@theasianpianist theasianpianist commented Nov 13, 2020

In the interface manager, set arp_accept to 1 when gratuitous ARP is enabled for an interface in config DB.

Signed-off-by: Lawrence Lee lawlee@microsoft.com

What I did

Why I did it

How I verified it

Details if related

* When proxy ARP is enabled, also enable arp_accept

Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
@theasianpianist
Copy link
Contributor Author

retest vs please


if (!alias.compare(0, strlen(VLAN_PREFIX), VLAN_PREFIX))
{
FieldValueTuple fvTuple("arp_accept", grat_arp);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The field must be same as what is in config_db - "grat_arp". Lets not change it.

Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
@theasianpianist
Copy link
Contributor Author

retest vs please

@theasianpianist theasianpianist merged commit 9921b5b into sonic-net:master Nov 20, 2020
daall pushed a commit to daall/sonic-swss that referenced this pull request Dec 7, 2020
* Get `grat_arp` value from config DB and enable kernel `arp_accept` if enabled
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
File show/vlan.py, function config(db) was modified to fill the table with VLAN even without members.

Signed-off-by: allas <allas@nvidia.com>
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