mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-28 03:33:01 +02:00
Let's drop the leading IETF or Infix prefixes from tests. Initially the idea was to mimnic the YANG models, but it's difficult to navigate and does not provide any real benefit to developers or end-users. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
=== DHCP Hostname Priority
ifdef::topdoc[:imagesdir: {topdoc}../../test/case/dhcp/client_hostname]
==== Description
Verify deterministic hostname management: a DHCP acquired hostname takes
precedence over a configured hostname. When a DHCP lease ends, or the
hostname option is removed, the system should revert to the configured
hostname.
==== Topology
image::topology.svg[DHCP Hostname Priority topology, align=center, scaledwidth=75%]
==== Sequence
. Set up topology and attach to target DUT
. Configure static system hostname
. Verify configured hostname is set
. Enable DHCP client requesting hostname option
. Verify DHCP hostname takes precedence
. Drop hostname option from client request
. Verify hostname reverts to configured value