Files
infix/test/case/ietf_system/hostname
Mattias Walström 3b3656c8f5 test: spec: change image format from PNG to SVG
SVG is a plain text file, better to see why it changed
than binary PNG. Also fix #744 by adding infix/OEM hash
to test specification

Signed-off-by: Mattias Walström <lazzer@gmail.com>
2024-10-23 14:21:26 +02: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::../../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


<<<