How to use sriov_basic_validation method in lisa

Best Python code snippet using lisa_python

sriov.py

Source:sriov.py Github

copy

Full Screen

...72 min_count=2,73 network_interface=features.Sriov(),74 ),75 )76 def sriov_basic_validation(self, environment: Environment) -> None:77 vm_nics = initialize_nic_info(environment)78 sriov_basic_test(environment, vm_nics)79 @TestCaseMetadata(80 description="""81 This case verifies module of sriov network interface is loaded and82 each synthetic nic is paired with one VF, and check rx statistics of source83 and tx statistics of dest increase after send 200 Mb file from source to dest.84 Steps,85 1. Check VF of synthetic nic is paired.86 2. Check module of sriov network device is loaded.87 3. Check VF counts listed from lspci is expected.88 4. Setup SSH connection between source and dest with key authentication.89 5. Ping the dest IP from the source machine to check connectivity.90 6. Generate 200Mb file, copy from source to dest....

Full Screen

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run lisa automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful