Files
infix/test/case/ietf_system/hostname
Richard Alpe 28f67ff608 test: add topdoc dir to all test specifications
This should be a non functional change. The idea is to use the topdoc
dir from 9pm when generating the test report.

Signed-off-by: Richard Alpe <richard@bit42.se>
2025-01-21 15:02:11 +01:00
..

=== Set hostname
==== Description
Verify that it is possible to change hostname both normal
and using format %h-%m.

The %h-%m format expands to <default hostname>-<MAC>,
where MAC is the last three bytes of the base MAC address.

e.g. ix-01-01-01.

==== Topology
ifdef::topdoc[]
image::{topdoc}../../test/case/ietf_system/hostname/topology.svg[Set hostname topology]
endif::topdoc[]
ifndef::topdoc[]
ifdef::testgroup[]
image::hostname/topology.svg[Set hostname topology]
endif::testgroup[]
ifndef::testgroup[]
image::topology.svg[Set hostname topology]
endif::testgroup[]
endif::topdoc[]
==== Test sequence
. Set up topology and attach to target DUT
. Set hostname to 'h0stn4m3'
. Verify new hostname 'h0stn4m3'
. Set hostname to '%h-%m'
. Verify hostname is  %h-%m in running configuration
. Verify hostname format in operational, according to format


<<<