Skip to content

[linkmgrd]: Add IPv6 only active-active link probing#344

Draft
zjswhhh wants to merge 1 commit into
sonic-net:masterfrom
zjswhhh:active-active-ipv6-only-linkmgrd-20260615
Draft

[linkmgrd]: Add IPv6 only active-active link probing#344
zjswhhh wants to merge 1 commit into
sonic-net:masterfrom
zjswhhh:active-active-ipv6-only-linkmgrd-20260615

Conversation

@zjswhhh

@zjswhhh zjswhhh commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Why I did it

Active-active DualToR IPv6 only clusters can omit server_ipv4 and soc_ipv4. linkmgrd needs to keep IPv4 as the preferred path for dual-stack configs, but use IPv6 when IPv4 is absent.

How I did it

  • Select server_ipv6 and soc_ipv6 only when the IPv4 field is missing.
  • Add Loopback2/Loopback3 IPv6 config handling for link prober source addresses.
  • Make software link prober packet layout, BPF filters, parsing, checksum, and GUID generation address-family aware.
  • Publish IPv6 hardware ICMP echo session fields when the selected prober endpoint is IPv6.
  • Add unit coverage for IPv6 fallback, ICMPv6 packet initialization, and hardware session publication.

How to verify it

  • Run linkmgrd unit tests, including the new IPv6 fallback and ICMPv6 link prober cases.
  • Build SONiC image with the corresponding buildimage submodule pointer update.
  • On an IPv6 only active-active DualToR config, verify linkmgrd selects IPv6 only when IPv4 is absent and emits ICMPv6 probes.

@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@zjswhhh zjswhhh force-pushed the active-active-ipv6-only-linkmgrd-20260615 branch from 2e4679a to 26dabfa Compare June 15, 2026 19:57
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@zjswhhh

zjswhhh commented Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

CI dependency fix has been split into separate draft PR #345.

Signed-off-by: Jing Zhang <zhangjing@microsoft.com>
@zjswhhh zjswhhh force-pushed the active-active-ipv6-only-linkmgrd-20260615 branch from 26dabfa to 2b49693 Compare June 16, 2026 00:13
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

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