Skip to content

Add IPv6 support in NetworkInterface feature #3957

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

adityagesh
Copy link
Collaborator

Add IPv6 feature by utilizing the existing use_ipv6 runbook parameter.
IPv6 Features enables IPv6 support in VNet, Subnet and enable IPv6 on the nic interface.

The Primary IP of the VM continues to be IPv4, hence no change is required in host that is running LISA. The communication between the VMs uses IPv6.

@adityagesh adityagesh force-pushed the aditya/ipv6_basic branch 2 times, most recently from 69dc31e to 9ba90cd Compare August 12, 2025 10:16
from lisa.feature import Feature


class IPv6(Feature):
Copy link
Member

@squirrelsc squirrelsc Aug 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add it to NetworkInterface, instead of a new feature. After that, we can deprecate the use_ipv6 on Azure runbook.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please review the updated implementation? I am still testing it, just want to make sure the approach is correct.
I couldn't figure out how to add Ipv4/ipv6 in initialize environment.
I also have not yet added Ipv4 as default support for existing platforms other than Azure

unsupported_os=[BSD, Windows],
),
)
def perf_tcp_ipv6_ntttcp_sriov(self, result: TestResult) -> None:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a specific reason to add perf test cases for IPv6? The IP version shouldn't have a significant performance impact.

Copy link
Collaborator Author

@adityagesh adityagesh Aug 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LISA currently do not have coverage for any IPv6 scenario. Hence, I thought performance is a good place to start with.
I also expect that the perf numbers can be potentially different for ipv4 and ipv6

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think there's a performance concern with IPv6. Instead, you can add a functional test case to verify whether the network can communicate using IPv6.

@adityagesh adityagesh changed the title Add IPv6 Feature and Netperf test Add IPv6 support in NetworkInterface feature Aug 14, 2025
@adityagesh adityagesh force-pushed the aditya/ipv6_basic branch 2 times, most recently from b00fb8f to e35839a Compare August 21, 2025 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants