mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 12:33:02 +02:00
Let's drop the leading IETF or Infix prefixes from tests. Initially the idea was to mimnic the YANG models, but it's difficult to navigate and does not provide any real benefit to developers or end-users. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
30 lines
941 B
Plaintext
30 lines
941 B
Plaintext
=== Custom MAC address on interface
|
|
|
|
ifdef::topdoc[:imagesdir: {topdoc}../../test/case/interfaces/iface_phys_address]
|
|
|
|
==== 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
|
|
|
|
image::topology.svg[Custom MAC address on interface topology, align=center, scaledwidth=75%]
|
|
|
|
==== 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
|
|
|
|
|