Skip to content

Updates to LLDP Pytest to support multi-asic#2269

Merged
daall merged 9 commits intosonic-net:masterfrom
abdosi:pytest_lldp
Dec 9, 2020
Merged

Updates to LLDP Pytest to support multi-asic#2269
daall merged 9 commits intosonic-net:masterfrom
abdosi:pytest_lldp

Conversation

@abdosi
Copy link
Copy Markdown
Contributor

@abdosi abdosi commented Sep 25, 2020

What/Why I did:
Updates to LLDP Pytest to support multi-asic following changes are done:
a) Moved LLDP test case from using minigraph fact to config fact. It is generic change
b) Moved LLDP from using Standard lldp fact Ansible Module to
user define LLDP Fact module (open-source code has been reused from standard ansible library). This user define module is needed
since for for Multi-asic platfrom we will have to gather fact from
multiple lldp namespace instance.

How I verify:
Verified LLDP on single-asic platforms.

a) Moved LLDP test case from using minigraph fact to config fact
b) Moved LLDP from using Standard lldp fact Ansible Module to
user define LLDP Fact module. This user define module is needed
since for for Multi-asic platfrom we will have to gather fact from
multiple lldp namespace instance.

Signed-off-by: Abhishek Dosi <abdosi@micrsoft.com>
@abdosi abdosi requested a review from a team September 25, 2020 02:14
abdosi and others added 8 commits November 25, 2020 18:27
Co-authored-by: Danny Allen <daall@microsoft.com>
Co-authored-by: Danny Allen <daall@microsoft.com>
Co-authored-by: Danny Allen <daall@microsoft.com>
Co-authored-by: Danny Allen <daall@microsoft.com>
Co-authored-by: Danny Allen <daall@microsoft.com>
Signed-off-by: Abhishek Dosi <abdosi@micrsoft.com>
Signed-off-by: Abhishek Dosi <abdosi@micrsoft.com>
Signed-off-by: Abhishek Dosi <abdosi@micrsoft.com>
@abdosi
Copy link
Copy Markdown
Contributor Author

abdosi commented Nov 26, 2020

@yxieca Can you also review this. There were conflicts based on your recent changes in this files.
@daall Can you also please review again.

@abdosi
Copy link
Copy Markdown
Contributor Author

abdosi commented Dec 9, 2020

@daall can you please review

@daall daall merged commit 3f2ff04 into sonic-net:master Dec 9, 2020
antoninamelnyk pushed a commit to antoninamelnyk/sonic-mgmt that referenced this pull request Dec 11, 2020
…2269)

Made the following changes to LLDP pytest:
a) Moved LLDP test case from using minigraph fact to config fact
b) Moved LLDP from using standard LLDP fact ansible module to user-defined LLDP fact module. This user-defined module is needed because we will have to gather facts from multiple LLDP namespace instances for multi-asic platform

Signed-off-by: Abhishek Dosi <abdosi@micrsoft.com>
Co-authored-by: Danny Allen <daall@microsoft.com>
antoninamelnyk added a commit to antoninamelnyk/sonic-mgmt that referenced this pull request Dec 11, 2020
abdosi added a commit that referenced this pull request Mar 24, 2021
This PR is continuation of #2269 where infra changes were done to support multi-asic platforms. In this PR:-

Fix Issue done in #2269 where asic_id is 0.

LLDP test is enhanced to run on multi-asic devices.
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.
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
Update sonic-utilities submodule pointer to include the following:
* Fix test for pfcwd_sw_enable in db_migrator_test ([sonic-net#2252](sonic-net/sonic-utilities#2252))
* [DHCPv6] [202012] Update the dhcpv6_relay config/show cli ([sonic-net#2271](sonic-net/sonic-utilities#2271))
* [vnet_route_check] Align DB data parse logic with format used by swsscommon API ([sonic-net#2268](sonic-net/sonic-utilities#2268))
* [202012] [generate_dump] allow to extend dump with plugin scripts ([sonic-net#2269](sonic-net/sonic-utilities#2269))

Signed-off-by: dprital <drorp@nvidia.com>
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
sonic-swss

25fe915 [crmorch] Prevent exceededLogCounter from resetting when low and high values are equal (sonic-net#2327)
1c3c5e0 [BFD]Retry create BFD with different source UDP port on failure (sonic-net#2225)
d5775b1 Skip consistent fail tests (sonic-net#2269)

sonicutilities

5800b73 Fix header for the output table following 'show ipv6 interface' command (sonic-net#2219)
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