Skip to content

Commit

Permalink
add test cases to sonic-mgmt
Browse files Browse the repository at this point in the history
Signed-off-by: Dante Su <dante.su@broadcom.com>
  • Loading branch information
ds952811 committed Mar 17, 2022
1 parent caf78d8 commit 9809574
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion doc/port_link_training/port-link-training-design.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,16 @@ For **sonic-utilities**, we will leverage the existing [unit test framework](htt

#### System Test cases

Will leverage sonic-mgmt to test this feature.
The following tests will be introduced into **sonic-mgmt** for this feature.

- test_link_training
Test all candidate ports by having interface/media type updated to copper followed by link-training enablement. Verification criteria:
- All ports are up when link-training is activated
- All ports are up with link-training status equals to 'trained'
- test_link_training_negative
Test all candidate ports by having interface/media type updated to fiber followed by link-training enablement. Verification criteria:
- All ports are down when link-training is activated
- All ports are down without link-training status equals to 'trained'

### Action items

Expand Down

0 comments on commit 9809574

Please sign in to comment.