Skip to content

Conversation

@alexlovelltroy
Copy link
Member

Description

This pull request adds comprehensive support for DHCPv6 and IPv6 DNS records to the CoreSMD plugins for both CoreDHCP and CoreDNS. The changes include updates to documentation, example configuration files, and plugin implementation to enable dual-stack (IPv4 and IPv6) networking. The CoreDHCP plugin (coresmd) now supports DHCPv6 address assignment, hostname configuration, and iPXE boot options, while the CoreDNS plugin can resolve AAAA records and perform IPv6 reverse lookups.

DHCPv6 and IPv6 support for CoreDHCP:

  • The coresmd plugin for CoreDHCP now supports DHCPv6, including IPv6 address assignment from SMD, FQDN option handling, and iPXE boot configuration. The implementation includes a new Handler6 function and updated setup logic to parse configuration and interact with SMD for IPv6 leases. [1] [2]
  • Example configuration files (coredhcp.yaml and coredhcp-minimal.yaml) and documentation have been updated to show dual-stack (DHCPv4 and DHCPv6) setups and explain configuration options specific to IPv6. [1] [2] [3]

IPv6 support for CoreDNS:

  • The CoreDNS plugin documentation and handler logic have been updated to clarify support for AAAA records and IPv6 PTR lookups, with examples for both forward and reverse DNS resolution. [1] [2] [3] [4] [5] [6]

Documentation improvements:

  • README files for both CoreDHCP and CoreDNS have been revised to explicitly state support for DHCPv6 and IPv6 DNS records, with updated feature lists and configuration examples. [1] [2]

Testing and validation:

  • The CoreDHCP plugin test suite has been updated to verify that DHCPv6 setup is now supported and configuration validation works as expected.

References:
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14]

Checklist

  • I have added/updated comments where needed
  • I have added tests that prove my fix is effective or my feature works
  • I have run make test (or equivalent) locally and all tests pass
  • DCO Sign-off: All commits are signed off (git commit -s) with my real name and email

Fixes #40

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

For more info, see Contributing Guidelines.

…figuration

Signed-off-by: Alex Lovell-Troy <alovelltroy@lanl.gov>
@alexlovelltroy alexlovelltroy linked an issue Dec 11, 2025 that may be closed by this pull request
1 task
@alexlovelltroy
Copy link
Member Author

@sujit-jadhav Can you try with this? the PR autobuilt a a container at ghcr.io/openchami/coresmd:pr-41-amd64

Copy link
Collaborator

@synackd synackd left a comment

Choose a reason for hiding this comment

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

LGTM on code review. Once we get a successful test confirmation, this can be merged.

@sujit-jadhav
Copy link

@alexlovelltroy I am on it. I have tested the container on the OIM and it is working fine, I am setting the IPv6 environment at switch level, will check if nodes are booting, we are good to go.

@alexlovelltroy alexlovelltroy merged commit 1b56297 into main Dec 18, 2025
4 checks passed
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.

[Bug]: coresmd does not currently support DHCPv6

4 participants