How to use test_connectivity_between_vms_on_different_networks method in tempest

Best Python code snippet using tempest_python

test_network_basic_ops.py

Source:test_network_basic_ops.py Github

copy

Full Screen

...347 @test.idempotent_id('1546850e-fbaa-42f5-8b5f-03d8a6a95f15')348 @testtools.skipIf(CONF.baremetal.driver_enabled,349 'Baremetal relies on a shared physical network.')350 @test.services('compute', 'network')351 def test_connectivity_between_vms_on_different_networks(self):352 """353 For a freshly-booted VM with an IP address ("port") on a given354 network:355 - the Tempest host can ping the IP address.356 - the Tempest host can ssh into the VM via the IP address and357 successfully execute the following:358 - ping an external IP address, implying external connectivity.359 - ping an external hostname, implying that dns is correctly360 configured.361 - ping an internal IP address, implying connectivity to another362 VM on the same network.363 - Create another network on the same tenant with subnet, create364 an VM on the new network.365 - Ping the new VM from previous VM failed since the new network...

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 tempest 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