Skip to content

[action] [PR:18529] Fix for port channel names mismatch in global and asic minigraph template files#327

Merged
mssonicbld merged 1 commit intoAzure:202503from
mssonicbld:cherry/msft-202503/18529
May 25, 2025
Merged

[action] [PR:18529] Fix for port channel names mismatch in global and asic minigraph template files#327
mssonicbld merged 1 commit intoAzure:202503from
mssonicbld:cherry/msft-202503/18529

Conversation

@mssonicbld
Copy link
Copy Markdown
Collaborator

Description of PR

Summary:
Fixes # (issue)

  • This PR fixes the issue #18507 caused by #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

Any platform specific information?

Mutliasic

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

Documentation

…late files

<!--
Please make sure you've read and understood our contributing guidelines;
https://github.com/sonic-net/SONiC/blob/gh-pages/CONTRIBUTING.md

Please provide following information to help code review process a bit easier:
-->
### Description of PR
<!--
- Please include a summary of the change and which issue is fixed.
- Please also include relevant motivation and context. Where should reviewer start? background context?
- List any dependencies that are required for this change.
-->

Summary:
Fixes # (issue)

- This PR fixes the issue #18507  caused by #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

<!--
- Fill x for your type of change.
- e.g.
- [x] Bug fix
-->

- [x] 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
<!--
(If it's a new feature, new test case)
Did you update documentation/Wiki relevant to your implementation?
Link to the wiki page?
-->
@mssonicbld
Copy link
Copy Markdown
Collaborator Author

Original PR: sonic-net/sonic-mgmt#18529

@mssonicbld
Copy link
Copy Markdown
Collaborator Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@mssonicbld mssonicbld merged commit 3e00378 into Azure:202503 May 25, 2025
4 checks passed
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.

1 participant