How to use test_dhcpv6_two_subnets method in tempest

Best Python code snippet using tempest_python

test_dhcp_ipv6.py

Source:test_dhcp_ipv6.py Github

copy

Full Screen

...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 IP157 addresses from first subnet and DHCP address from second one.158 Order of subnet creating should be unimportant.159 """160 for order in ("slaac_first", "dhcp_first"):161 for ra_mode, add_mode in (162 ('slaac', 'slaac'),163 ('dhcpv6-stateless', 'dhcpv6-stateless'),164 ):165 kwargs = {'ipv6_ra_mode': ra_mode,166 'ipv6_address_mode': add_mode}167 kwargs_dhcp = {'ipv6_address_mode': 'dhcpv6-stateful'}168 if order == "slaac_first":...

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