1, related projects
project | link | |
---|---|---|
requirement/use case | Ipv6-enabled OPNFV | https://git.opnfv.org/cgit/ipv6/ https://git.opnfv.org/cgit/ipv6/tree/docs/userguide/featureusage.rst |
test case | tempest(openstack), Functest | https://github.com/openstack/tempest/blob/master/tempest/scenario/test_network_v6.py https://github.com/openstack/tempest/blob/master/tempest/api/network/test_dhcp_ipv6.py https://github.com/openstack/tempest/blob/master/tempest/api/network/test_networks.py |
Yardstick | https://git.opnfv.org/cgit/yardstick/tree/tests/opnfv/test_cases/opnfv_yardstick_tc027.yaml | |
platform | installers, SDN controllers, etc |
...
2.1.1 The basic Overlay IPv6 Testing (i.e. tenant IPv6 networks using Neutron) are loaded by Tempest by default in the Smoke Scenario (Tempest Scenario Testing).
https://github.com/openstack/tempest/blob/master/tempest/scenario/test_network_v6.py
the process is
1. Create network with subnets:
1.1. one IPv4 and
1.2. one or more IPv6 in a given address mode(DHCPv6 (stateless), SLAAC)
2. Boot 2 VMs on this network
3. Allocate and assign 2 FIP4
4. Check that vNICs of all VMs gets all addresses actually assigned
5. Each VM will ping the other's v4 private address
6. If ping6 available in VM, each VM will ping all of the other's v6 addresses as well as the router's2.1.2 DHCPv6 specific features api test case for openstack
https://github.com/openstack/tempest/blob/master/tempest/api/network/test_dhcp_ipv6.pyTest DHCPv6 specific features using SLAAC, stateless and stateful settings for subnets. Also it shall check dual-stack functionality (IPv4 + IPv6 together).
The tests include:
1,generating of SLAAC EUI-64 address in subnets with various settings
2,receiving SLAAC addresses in combinations of various subnets
3,receiving stateful IPv6 addresses
4,addressing in subnets with router- 2.1.3 networks ipv6 api test for openstack
https://github.com/openstack/tempest/blob/master/tempest/api/network/test_networks.py
such as
test_create_delete_subnet_with_gw
test_create_delete_subnet_with_default_gw
test_create_list_subnet_with_no_gw64_one_network
These can be reused as the basis.
...