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

Updated LLDP startup configuration for multi-asic (#15440) #405

Merged
merged 1 commit into from
Jun 29, 2024

Conversation

abdosi
Copy link
Contributor

@abdosi abdosi commented Jun 28, 2024

Cherry-pick of PR: sonic-net/sonic-buildimage#15440

ADO: 28702813

Why I did:
To fix MC Replication error on DNX Platform when we send LLDP frame on Inband/Recirc Ports.

What I did:
Changes in LLDP Configuration to handle this:

Enable LLDP only on front panel interfaces.
Why I did:
This is done to free up CPU cycle as we don't see use for that in multi-asic and also for Chassis we have disable lldp docker on supervisor so there is no lldp peering even if send LLDP BPDU on backplane ports

For multi-asic do not generate lldpd.conf with eth0 related configuration
Why I did:
In namespace lldp docker there is no need to generate eth0 configuration. It gives not needed errror message as seen here sonic-net/sonic-buildimage#15382

How I did it:
Instead of relying on DEVICE_METADTA sub_role we are using NAMESPACE_ID environmental variable (passed to all docker instance) which will be > 0 for multiasic docker instance and not define for global/host docker instance.

---------

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
@abdosi abdosi requested a review from lguohan as a code owner June 28, 2024 20:49
@abdosi
Copy link
Contributor Author

abdosi commented Jun 28, 2024

@vmittal-msft @judyjoseph please review

@abdosi
Copy link
Contributor Author

abdosi commented Jun 28, 2024

@saksarav-nokia for viz.

@abdosi
Copy link
Contributor Author

abdosi commented Jun 28, 2024

@gechiang to help with merge

@gechiang gechiang merged commit 5870cbd into Azure:202205 Jun 29, 2024
3 checks passed
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.

4 participants