Testing Guide - Staphylo/SONiC GitHub Wiki
Testlab/Testbed
Please find testlab setup instructions here
Minigraph
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 Tests
How to Run Test
-
Run all tests from in sonic-mgmt docker.
Tests that you may run to validate SONiC switch features of your platform
Here are some test design docs
- ACL Test Plan [deprecated]
- ACL Ingress & Egress Test Plan
- DHCP Relay Agent Test Plan
- Everflow Test Plan
- FIB Scale Test Plan
- IPv4 Decapsulation Test
- LAG Feature Test Suite
- VLAN Feature Test Suite
- FDB Scale Test Plan
- BGP GR helper mode test plan
- BGP MP test plan
- IPv4 Decapsulation test
- PFC Watchdog Test Plan
- pfc, Vlan and many other test plan and design documents (click upper right corner 'Pages')
- Other Tests