1、Test tooling for 100%of SAI use casesIT Ecosystem:NetworkingTest tooling for 100%of SAI use casesAndriyKokhan,Solutions Architect,PLVisionVlad Laslu,Senior Technical Product Manager,Keysight TechnologiesThe application area of SAI SONiCdevice with external PHYs CLOS topology Multi-ASIC(CLOS-in-a-box
2、,VoQ)DisaggregatedChassis DASH Smart SwitchDec 20143.2T/100GFeb 202351.2T/800Gabout 9 yearsKey SAI testingpillarsDecoupling of SAI RPC implementation from the API written once,the test case can be executed repeatedly using different RPC mechanisms:Thrift generic use case independent scenarioRedis SO
3、NiC scenarioTraffic generator agnostic interface possibility to use both SW and HW traffic generators to fulfill the demand for the line rate scenarios testingTestbeds flexible description a simple and clear definition of all aspects of a certain testbed(the type of SAI RPC mechanism,the type of the
4、 traffic generator,connections,etc.)SAI configuration modesSupports both saithrift and sairedis APIsRuns over either API without changeThe test configuration file selects which API to useTraffic generator variations(1)PTF-snappi wrappers,OTG Tgen;packet at a time.(2)Native OTG/snappi,flow-based pack
5、ets.(3)PTF utils,Scapy Traffic generator;packet at a time.(A)Virtual testing at CPU speeds.(B)Physical DUT testing at CPU speeds.(C)Physical testing,high-speed and scale.Open Traffic Generator(OTG)API OverviewOpen model based declarative API.Designed for network testing.Vendor agnostic ecosystem.Ope
6、n API v3 definition with auto-generated client SDKs in multiple languages.Separation between Data Model&API.Well documented Data Model.Flat API.Write once and run everywhere.Speeds from slow simulators up to line rate.https:/otg.devClient-side SDK for Open TrafficGenerator API.Pythonic and available