Skip to content

Fix for port channel names mismatch in global and asic minigraph template files#18529

Merged
arlakshm merged 1 commit intosonic-net:masterfrom
sanjair-git:minigraph-asic
May 25, 2025
Merged

Fix for port channel names mismatch in global and asic minigraph template files#18529
arlakshm merged 1 commit intosonic-net:masterfrom
sanjair-git:minigraph-asic

Conversation

@sanjair-git
Copy link
Copy Markdown
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?

  • To fix the minigraph template issues w.r.t Portchannel names for global and asic.

How did you do it?

  • Add corresponding changes on ansible/templates/minigraph_dpg_asic.j2 similar to ansible/templates/minigraph_dpg.j2

How did you verify/test it?

  • Run gen-mg with the new template modifications. With the new minigraph, made sure tests are passing for multi-asics

Any platform specific information?

Mutliasic

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

Documentation

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@sanjair-git
Copy link
Copy Markdown
Contributor Author

@tjchadaga @arlakshm Can you please help merge this PR to master as well as on 202503 MSFT branch?

@mssonicbld
Copy link
Copy Markdown
Collaborator

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

bachalla pushed a commit to bachalla/sonic-mgmt that referenced this pull request Jun 2, 2025
…late files sonic-net#18529

Description of PR
Summary:
Fixes # (issue)

This PR fixes the issue Bug: Minigraph generation is broken for multi asic sonic-net#18507 caused by chore: change portchannel naming sonic-net#18161
Portchannel name changes are done in file ansible/templates/minigraph_dpg.j2 but we need corresponding change in ansible/templates/minigraph_dpg_asic.j2 file as well so the names are same in both global and asic configs.
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?
To fix the minigraph template issues w.r.t Portchannel names for global and asic.
How did you do it?
Add corresponding changes on ansible/templates/minigraph_dpg_asic.j2 similar to ansible/templates/minigraph_dpg.j2
How did you verify/test it?
Run gen-mg with the new template modifications. With the new minigraph, made sure tests are passing for multi-asics

Co-authored-by: ansrajpu <[email protected]>
opcoder0 pushed a commit to opcoder0/sonic-mgmt that referenced this pull request Dec 8, 2025
…late files sonic-net#18529

Description of PR
Summary:
Fixes # (issue)

This PR fixes the issue Bug: Minigraph generation is broken for multi asic sonic-net#18507 caused by chore: change portchannel naming sonic-net#18161
Portchannel name changes are done in file ansible/templates/minigraph_dpg.j2 but we need corresponding change in ansible/templates/minigraph_dpg_asic.j2 file as well so the names are same in both global and asic configs.
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?
To fix the minigraph template issues w.r.t Portchannel names for global and asic.
How did you do it?
Add corresponding changes on ansible/templates/minigraph_dpg_asic.j2 similar to ansible/templates/minigraph_dpg.j2
How did you verify/test it?
Run gen-mg with the new template modifications. With the new minigraph, made sure tests are passing for multi-asics

Co-authored-by: ansrajpu <[email protected]>

Signed-off-by: opcoder0 <[email protected]>
AharonMalkin pushed a commit to AharonMalkin/sonic-mgmt that referenced this pull request Dec 16, 2025
…late files sonic-net#18529

Description of PR
Summary:
Fixes # (issue)

This PR fixes the issue Bug: Minigraph generation is broken for multi asic sonic-net#18507 caused by chore: change portchannel naming sonic-net#18161
Portchannel name changes are done in file ansible/templates/minigraph_dpg.j2 but we need corresponding change in ansible/templates/minigraph_dpg_asic.j2 file as well so the names are same in both global and asic configs.
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?
To fix the minigraph template issues w.r.t Portchannel names for global and asic.
How did you do it?
Add corresponding changes on ansible/templates/minigraph_dpg_asic.j2 similar to ansible/templates/minigraph_dpg.j2
How did you verify/test it?
Run gen-mg with the new template modifications. With the new minigraph, made sure tests are passing for multi-asics

Co-authored-by: ansrajpu <[email protected]>
Signed-off-by: Aharon Malkin <[email protected]>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 21, 2025
…late files sonic-net#18529

Description of PR
Summary:
Fixes # (issue)

This PR fixes the issue Bug: Minigraph generation is broken for multi asic sonic-net#18507 caused by chore: change portchannel naming sonic-net#18161
Portchannel name changes are done in file ansible/templates/minigraph_dpg.j2 but we need corresponding change in ansible/templates/minigraph_dpg_asic.j2 file as well so the names are same in both global and asic configs.
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?
To fix the minigraph template issues w.r.t Portchannel names for global and asic.
How did you do it?
Add corresponding changes on ansible/templates/minigraph_dpg_asic.j2 similar to ansible/templates/minigraph_dpg.j2
How did you verify/test it?
Run gen-mg with the new template modifications. With the new minigraph, made sure tests are passing for multi-asics

Co-authored-by: ansrajpu <[email protected]>
Signed-off-by: Guy Shemesh <[email protected]>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Jan 26, 2026
…late files sonic-net#18529

Description of PR
Summary:
Fixes # (issue)

This PR fixes the issue Bug: Minigraph generation is broken for multi asic sonic-net#18507 caused by chore: change portchannel naming sonic-net#18161
Portchannel name changes are done in file ansible/templates/minigraph_dpg.j2 but we need corresponding change in ansible/templates/minigraph_dpg_asic.j2 file as well so the names are same in both global and asic configs.
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?
To fix the minigraph template issues w.r.t Portchannel names for global and asic.
How did you do it?
Add corresponding changes on ansible/templates/minigraph_dpg_asic.j2 similar to ansible/templates/minigraph_dpg.j2
How did you verify/test it?
Run gen-mg with the new template modifications. With the new minigraph, made sure tests are passing for multi-asics

Co-authored-by: ansrajpu <[email protected]>
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