mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-01 05:13: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>
=== Custom MAC address on interface
==== Description
Verify support for setting and removing a custom MAC address on interfaces.
Both static MAC address and derived from the chassis MAC with, or without,
an offset applied.
==== Topology
ifdef::topdoc[]
image::{topdoc}../../test/case/ietf_interfaces/iface_phys_address/topology.svg[Custom MAC address on interface topology]
endif::topdoc[]
ifndef::topdoc[]
ifdef::testgroup[]
image::iface_phys_address/topology.svg[Custom MAC address on interface topology]
endif::testgroup[]
ifndef::testgroup[]
image::topology.svg[Custom MAC address on interface topology]
endif::testgroup[]
endif::topdoc[]
==== Test sequence
. Set up topology and attach to target DUT
. Set target:data static MAC address '02:01:00:c0:ff:ee'
. Verify target:data has MAC address '02:01:00:c0:ff:ee'
. Reset target:data MAC address to default
. Verify target:data MAC address is reset to default
. Set target:data to chassis MAC
. Verify target:data has chassis MAC
. Set target:data to chassis MAC + offset
. Verify target:data has chassis MAC + offset
. Reset target:data MAC address to default
. Verify target:data MAC address is reset to default
<<<