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


