Skip to content

[PR#17130] - lldp - Changes for VOQ single-dut multi-asic#17837

Merged
rlhui merged 1 commit intosonic-net:masterfrom
sanjair-git:17130-lldp
Apr 17, 2025
Merged

[PR#17130] - lldp - Changes for VOQ single-dut multi-asic#17837
rlhui merged 1 commit intosonic-net:masterfrom
sanjair-git:17130-lldp

Conversation

@sanjair-git
Copy link
Contributor

Description of PR

Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405
  • 202411

Approach

What is the motivation for this PR?

  • New testbed modification of VOQ Single DUT and multi-asic.

How did you do it?

  • If switch type is VOQ, decide based on the number of Duts and also based on if the DUT is modular chassis or not.

How did you verify/test it?

Any platform specific information?

Supported testbed topology if it's a new test case?

  • T2 VOQ Single Dut Multi ASIC

Documentation

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

duthost.facts['switch_type'] == "voq"
is_chassis = duthost.get_facts().get("modular_chassis")
if duthost.facts['switch_type'] == "voq" and not is_chassis:
appl_db.append(SonicDbCli(duthost, APPL_DB))
Copy link
Contributor

Choose a reason for hiding this comment

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

why is this change needed? Since the disagg chassis is also multi-asic, is the current code not sufficient?

Copy link
Contributor Author

@sanjair-git sanjair-git left a comment

Choose a reason for hiding this comment

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

Hi @tjchadaga, this change is needed for multi-asic disagg chassis. Because this has out-of-band management port (eth0) which is not present in line cards. For example,

admin@ixr-x3b-5:~$ show lldp table
Capability codes: (R) Router, (B) Bridge, (O) Other
LocalPort    RemoteDevice      RemotePortID    Capability    RemotePortDescr
-----------  ----------------  --------------  ------------  ---------------
Ethernet48   ARISTA01T3        Ethernet1       BR
Ethernet96   ARISTA02T3        Ethernet1       BR
Ethernet104  ARISTA03T3        Ethernet1       BR
Ethernet192  ARISTA05T1        Ethernet1       BR
Ethernet200  ARISTA05T1        Ethernet2       BR
Ethernet272  ARISTA07T1        Ethernet1       BR
eth0         wfr-io-d-6-tor-1  35880960        BR            1/1/7, 10/100/G
--------------------------------------------------
Total entries displayed:  7
admin@ixr-x3b-5:~$ 

@rlhui rlhui merged commit 6cb2918 into sonic-net:master Apr 17, 2025
14 checks passed
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to msft-202503: Azure/sonic-mgmt.msft#201

opcoder0 pushed a commit to opcoder0/sonic-mgmt that referenced this pull request Dec 8, 2025
Split the original PR Reg: Changes of VOQ Single Dut Multi asic sonic-net#17130 into individual PRs for each test.
This is an enhancement to support VOQ Single DUT Multi-ASIC setup for T2 topo.

Signed-off-by: opcoder0 <[email protected]>
AharonMalkin pushed a commit to AharonMalkin/sonic-mgmt that referenced this pull request Dec 16, 2025
Split the original PR Reg: Changes of VOQ Single Dut Multi asic sonic-net#17130 into individual PRs for each test.
This is an enhancement to support VOQ Single DUT Multi-ASIC setup for T2 topo.

Signed-off-by: Aharon Malkin <[email protected]>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 21, 2025
Split the original PR Reg: Changes of VOQ Single Dut Multi asic sonic-net#17130 into individual PRs for each test.
This is an enhancement to support VOQ Single DUT Multi-ASIC setup for T2 topo.

Signed-off-by: Guy Shemesh <[email protected]>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Jan 26, 2026
Split the original PR Reg: Changes of VOQ Single Dut Multi asic sonic-net#17130 into individual PRs for each test.
This is an enhancement to support VOQ Single DUT Multi-ASIC setup for T2 topo.

Signed-off-by: Guy Shemesh <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants