-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Testing Guide
Please find testlab setup instructions here
Minigraph is the only resource/starting point for configuring a SONiC device.
Minigraph is a XML format file. Each SONiC device must have a matching Minigraph file for device configuration and test.
SONiC devices Minigraph files could be saved locally or centralized saved in a remote location.
All local Minigraph files are saved under ansible/minigraph folder. The file name must match your SONiC device name specified in 'lab' inventory file under ansible/ folder
Generate Minigraph File Based On Testbed Type
- Run all tests from in sonic-mgmt docker.
-
Command to run tests:
ansible-playbook -i lab --limit your-dut-name test_sonic.yml --tags your-test-tag1,test-tag-2
-
Example: run fib test
ansible-playbook -i lab --limit your-dut-name test_sonic.yml --tags fib -e "ptf_host=10.64.246.19 testbed_type=t1"
Here are some test design docs
-
For Users
-
For Developers
-
Subgroups/Working Groups
-
Presentations
-
Join Us