www.spirent.com
Time-Sensitive Networking (TSN) Playbook
Test Cases & Methodologies
Table of Contents
1. TSN Standards Overview .............................................................................................................................................................................................. 3
2. Conformance Testing .................................................................................................................................................................................................... 4
2.1. Conformance Testing: TTsuite-AVB-AS ........................................................................................................................................................... 4
2.1.1. Objective ................................................................................................................................................................................................ 4
2.1.2. Test Topology ........................................................................................................................................................................................ 5
2.1.3. Expected Behavior ................................................................................................................................................................................ 7
2.2. Conformance Testing: TTsuite-AVB-1722 ....................................................................................................................................................... 9
2.2.1. Objective ................................................................................................................................................................................................ 9
2.2.2. Test Topology ......................................................................................................................................................................................10
2.2.3. Expected Behavior ..............................................................................................................................................................................11
2.3. Conformance Testing: TTsuite-AVB-FQTSS .................................................................................................................................................. 13
2.3.1. Objective ..............................................................................................................................................................................................13
2.3.2. Test Topology ......................................................................................................................................................................................14
2.3.3. Expected Behavior ..............................................................................................................................................................................17
3. Timing and Synchronization ....................................................................................................................................................................................... 19
3.1. IEEE802.1AS Synchronization Testing .......................................................................................................................................................... 19
3.1.1. Test Case: Test DUT for Master Role .................................................................................................................................................21
3.1.2. Test Case: Test DUT for Slave Role ....................................................................................................................................................22
3.1.3. TestCase:TestDUTforSlaveRoleinAutomotiveProle .............................................................................................................23
3.1.4. TestCase:TestDUTforMasterRoleinAutomotiveProle ...........................................................................................................24
3.2. IEEE802.1AS Scalability Testing .....................................................................................................................................................................25
3.2.1. Test Case: Test gPTP Scalability ........................................................................................................................................................27
3.3. IEEE802.1AS Grandmaster Selection Testing ..............................................................................................................................................34
3.3.1. Test Case: Test for Grandmaster Selection ...................................................................................................................................... 37
3.4. IEEE802.1AS Bridge Performance Testing ...................................................................................................................................................40
3.4.1. Test Case: Test DUT for Time-Aware Bridge gPTP Timing Performance ....................................................................................40
4. TrafcShapingandPrioritization ...............................................................................................................................................................................48
4.1. Credit-Based Shaping and Bandwidth Reservation Testing ......................................................................................................................49
4.1.1. Test Case: Credit Shaping and Bandwidth Reservation Capabilities ......................................................................................... 49
4.2. Pre-emption Testing .........................................................................................................................................................................................56
4.2.1. TestCase:GenerationofModiedPreamblePacketStream ......................................................................................................57
4.2.2. TestCase:CreatingTrafcProlestoCausePre-emptionBetweenSwitchEgressPorts.........................................................59
5. Acronyms ................................................................................................................................................................................................................64