Skip to content

Issue 782 dhcp ntp dns - #1410

Merged
troglobit merged 1 commit into
kernelkit:mainfrom
saba8814:issue-782-dhcp-ntp-dns
Mar 4, 2026
Merged

troglobit merged 1 commit into
kernelkit:mainfrom
saba8814:issue-782-dhcp-ntp-dns

Conversation

@saba8814

@saba8814 saba8814 commented Feb 21, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Checklist

Tick relevant boxes, this PR is-a or has-a:

  • Bugfix
    • Regression tests
    • ChangeLog updates (for next release)
  • Feature
    • YANG model change => revision updated?
    • Regression tests added?
    • ChangeLog updates (for next release)
    • Documentation added?
  • Test changes
    • Checked in changed Readme.adoc (make test-spec)
    • Added new test to group Readme.adoc and yaml file
  • Code style update (formatting, renaming)
  • Refactoring (please detail in commit messages)
  • Build related changes
  • Documentation content changes
    • ChangeLog updated (for major changes)
  • Other (please describe):


==== Sequence

. Stage 1 & 2: Set up topology and configure static IP on client

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is not how we write the sequence, skip the stage part

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Updated in new version.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a new integration test that verifies the combination of DHCP, NTP, and DNS functionality. Specifically, it tests that statically configured DNS and NTP servers are preserved (not lost) when a client also receives DNS and NTP server information from a DHCP server. The test validates that both the static and DHCP-provided servers coexist in the system's operational state.

Changes:

  • Added a new use case test for DHCP + NTP + DNS combination
  • Created topology files and test documentation
  • Updated test suite configuration to include the new test

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
test/case/use_case/dhcp_ntp_dns_combination/topology.svg SVG visualization of the test topology
test/case/use_case/dhcp_ntp_dns_combination/topology.dot DOT graph definition for the topology
test/case/use_case/dhcp_ntp_dns_combination/test.py Main test implementation verifying DNS/NTP server coexistence
test/case/use_case/dhcp_ntp_dns_combination/test.adoc Test documentation in AsciiDoc format
test/case/use_case/dhcp_ntp_dns_combination/Readme.adoc Test readme file (contains critical error)
test/case/use_case/all.yaml Updated to include the new test case
test/case/use_case/Readme.adoc Updated to reference the new test documentation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@troglobit troglobit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks great! I'd like to echo what @mattiaswal said in Discord; please squash all commits and force-push since it's all a logical unit.

@saba8814
saba8814 force-pushed the issue-782-dhcp-ntp-dns branch from f4c3c8a to 1a1d917 Compare February 22, 2026 14:09
@mattiaswal
mattiaswal requested a review from troglobit March 3, 2026 07:13

@troglobit troglobit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Great to finally have a test for this, thank you @saba8814 !

LGTM

@troglobit
troglobit merged commit 0bedde5 into kernelkit:main Mar 4, 2026
6 checks passed
@saba8814
saba8814 deleted the issue-782-dhcp-ntp-dns branch April 13, 2026 18:16
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.

4 participants