Skip to content

Enhance LLDP test case for multi-asic platforms#3137

Merged
abdosi merged 19 commits intosonic-net:masterfrom
abdosi:copp
Mar 24, 2021
Merged

Enhance LLDP test case for multi-asic platforms#3137
abdosi merged 19 commits intosonic-net:masterfrom
abdosi:copp

Conversation

@abdosi
Copy link
Copy Markdown
Contributor

@abdosi abdosi commented Mar 13, 2021

What I did:

This PR is continuation of #2269 where infra changes were done to support multi-asic platforms. In this PR:-

How I verify:

Verify on both single and multi-asic platforms.

abdosi added 17 commits February 5, 2021 17:00
Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
@abdosi abdosi requested a review from a team as a code owner March 13, 2021 03:12
Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
@abdosi abdosi changed the title Enhance LLDP test case for multi-asic platfroms Enhance LLDP test case for multi-asic platforms Mar 16, 2021
@abdosi
Copy link
Copy Markdown
Contributor Author

abdosi commented Mar 16, 2021

@arlakshm can you please help to review this.

@abdosi abdosi requested a review from arlakshm March 17, 2021 02:54
lldpctl_facts = duthost.lldpctl_facts(skip_interface_pattern_list=["eth0"])['ansible_facts']

namespace = duthost.get_namespace_from_asic_id(enum_frontend_asic_index)
config_facts = duthost.config_facts(host=duthost.hostname, source="running",namespace=namespace)['ansible_facts']
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can we use the sonicasic.config_facts here ?

Copy link
Copy Markdown
Contributor Author

@abdosi abdosi Mar 18, 2021

Choose a reason for hiding this comment

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

@arlakshm Updated.

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
@abdosi
Copy link
Copy Markdown
Contributor Author

abdosi commented Mar 19, 2021

/Azurepipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@abdosi abdosi merged commit aa0f670 into sonic-net:master Mar 24, 2021
@abdosi abdosi deleted the copp branch March 24, 2021 15:59
vmittal-msft pushed a commit to vmittal-msft/sonic-mgmt that referenced this pull request Sep 28, 2021
This PR is continuation of sonic-net#2269 where infra changes were done to support multi-asic platforms. In this PR:-

Fix Issue done in sonic-net#2269 where asic_id is 0.

LLDP test is enhanced to run on multi-asic devices.
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