[Minigraph-Gen]create minigraph based on testbed_vm_topology#491
Closed
maggiemsft wants to merge 4 commits intosonic-net:masterfrom
Closed
[Minigraph-Gen]create minigraph based on testbed_vm_topology#491maggiemsft wants to merge 4 commits intosonic-net:masterfrom
maggiemsft wants to merge 4 commits intosonic-net:masterfrom
Conversation
lguohan
reviewed
Mar 9, 2018
| when: "VM_topo | bool" | ||
|
|
||
| - name: find interface name mapping and indivisual interface speed if defined | ||
| port_alias: hwsku="{{ hwsku }}" |
Contributor
There was a problem hiding this comment.
this should be connection: local
lguohan
reviewed
Mar 9, 2018
ansible/templates/alltopo.j2
Outdated
| @@ -0,0 +1,356 @@ | |||
| <DeviceMiniGraph xmlns="Microsoft.Search.Autopilot.Evolution" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> | |||
| <CpgDec> | |||
Contributor
There was a problem hiding this comment.
can you sepearate cpgdec, dpgdec, DeviceInfos, MetadataDeclaration into seperate files, so they can be maintained separately?
Contributor
Author
|
yxieca
requested changes
Mar 14, 2018
Collaborator
yxieca
left a comment
There was a problem hiding this comment.
Looks like you forgot to add alltopo.j2 to this PR.
3 tasks
sdszhang
pushed a commit
to sdszhang/sonic-mgmt
that referenced
this pull request
Aug 2, 2025
…ic-net#489)" (sonic-net#491) This reverts commit c22f3a0.
kazinator-arista
pushed a commit
to kazinator-arista/sonic-mgmt
that referenced
this pull request
Mar 4, 2026
Submodule src/sonic-sairedis 4c75b7f..54c8e78: > [saisdkdump]: Fix dump generation crash (sonic-net#493) > Fix bug: Restore sai log levels from LOGLEVEL_DB after saiDiscover (sonic-net#491) Signed-off-by: Ying Xie <[email protected]>
kazinator-arista
pushed a commit
to kazinator-arista/sonic-mgmt
that referenced
this pull request
Mar 4, 2026
…tomatically (sonic-net#23284) #### Why I did it src/sonic-linux-kernel ``` * 91696ec - (HEAD -> 202311, origin/202311) [build] Use package.trafficmanager instead of sonicstorage.blob (sonic-net#491) (3 hours ago) [Liu Shilong] ``` #### How I did it #### How to verify it #### Description for the changelog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of PR
Generate testing minigraph.xml based on testbed topology yaml file
There is a configure_sonic_basedon_testbed.yml playbook before but only support certain topology
along with adding more testbed topologies, it cannot automatically generate minigraph based on defined testbed.yml and won't catch up with every template for each topology.
This effort is trying to read vars/topo_*.yml and based on testbed configuration and generate matching SONiC minigraph for test run.
Type of change
Approach
How did you do it?
How did you verify/test it?
I tested in local DellS6000 t0, t1-lag and t1 topology and looks like working
Any platform specific information?
I tested in local DellS6000 t0, t1-lag and t1 topology and looks like working
Supported testbed topology if it's a new test case?
na
Documentation
https://github.com/maggiemsft/SONiC/wiki/Device-Minigraph-Generation-V2