Files
infix/test/case/dhcp/client_hostname
Joachim Wiberg 1bbd80d8c7 test: drop leading ietf/infix prefix from directories
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>
2025-11-20 20:23:23 +01:00
..

=== 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