How to use test_dhcpv6_stateless_no_ra_no_dhcp method in tempest

Best Python code snippet using tempest_python

test_dhcp_ipv6.py

Source:test_dhcp_ipv6.py Github

copy

Full Screen

...138 self.create_subnet,139 self.network,140 **kwargs)141 @test.idempotent_id('21635b6f-165a-4d42-bf49-7d195e47342f')142 def test_dhcpv6_stateless_no_ra_no_dhcp(self):143 """If no radvd option and no dnsmasq option is configured144 port shall receive IP from fixed IPs list of subnet.145 """146 real_ip, eui_ip = self._get_ips_from_subnet()147 self._clean_network()148 self.assertNotEqual(eui_ip, real_ip,149 ('Real port IP %s equal to EUI-64 %s when '150 'ipv6_ra_mode=Off and ipv6_address_mode=Off,'151 'but shall be taken from fixed IPs') % (152 real_ip, eui_ip))153 @test.idempotent_id('4544adf7-bb5f-4bdc-b769-b3e77026cef2')154 def test_dhcpv6_two_subnets(self):155 """When one IPv6 subnet configured with dnsmasq SLAAC or DHCP stateless156 and other IPv6 is with DHCP stateful, port shall receive EUI-64 IP...

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