1、Scott Paulsen,Wei-Jen HuangCisco System Inc.FAST-VerifyFAST-VerifyScott Paulsen,Wei-Jen HuangCisco Systems Inc.A Lightweight Automated Testing Framework for Linux Platforms.Test and ValidationMotivationCentOS 9Raw centos with Linux updateIncluded customer utilitiesLack of a unified infrastructurefor
2、 command verification and system state validationDIAGsDiags has their own infraSONiCEstablished show-techFound it useful here too!Challenges:No diagsNo show tech infraCisco8501Why high-level platform validation matters,and data collectionQuick tests for go/nogo to further testingCaptures output from
3、 all commands runAdaptable enough to do much more testingRuns standard command line programsVerify the return code and outputBrief context:OCP-inspired Cisco 8501 productsThe 8501 is a 64 by 800G productIntroductionCisco8501What is FAST-Verify?Lightweight automated testing frameworkHigh-level valida
4、tionLinux open-source platformsKey design principles:Portability Written in pythonModularity Cases are written in jsonEasy to integrate Write the specific test casesEasy to integrate into a webserver UI,or any environment given json format is used:Test vector inputResults outputFAST-Verify OverviewP
5、orting to new systems:minimal config changesCustomization:Expand tests with libraries or external scriptsAdding new test scenarios with easeUse cases:Multi-step processesStreamline multi-step processes by encapsulating them in scripts,eliminating manual copy-pasting from documentation.Quick regressi
6、on for system/imagePut the commands/tests that verify functionality of system/imageManufacturing check specific for 8501Used here to validate many things and keep record of data for later reference if needed.Portability&CustomizationModularWorkflow4Review5Insights/Feedback1Test Inputs(YAML/JSON)2FAS