Enable minigraph on SONIC - mganugapati-auradine/sonic-buildimage GitHub Wiki
- Run the following command inside sonic-mgmt folder of your testbed cd ansible ANSIBLE_VERBOSITY=4 ./testbed-cli.sh -t testbed.yaml gen-mg wistron-testbed inventory.yaml ~/.password (This is the vault password and really doesnt matter what you put here)
- The above command generates the sonic-wistron.t0.xml file inside the minigraph folder.
- Copy the above file to your DUT into /etc/sonic/minigraph.xml
Run the below command on ur DUT 4. sudo sonic-cfggen -m /etc/sonic/minigraph.xml --write-to-db 5. sudo config save -y 6. sudo reboot