mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-02 22:03:01 +02:00
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>
34 lines
860 B
Plaintext
34 lines
860 B
Plaintext
=== 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
|
|
|
|
|
|
<<<
|
|
|