Files
infix/test/case/interfaces/veth_delete
Joachim Wiberg 1bbd80d8c7 test: drop leading ietf/infix prefix from directories
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>
2025-11-20 20:23:23 +01:00
..

=== Verify that VETH pairs can be deleted

ifdef::topdoc[:imagesdir: {topdoc}../../test/case/interfaces/veth_delete]

==== Description

```
     veth0b       veth0a        data1    data2
          `---------'
```

Each test step to create, add address, or delete an interace is distinct
from any other step.  This to trigger a new configuration "generation".

==== Topology

image::topology.svg[Verify that VETH pairs can be deleted topology, align=center, scaledwidth=75%]

==== Sequence

. Set up topology and attach to target DUT
. Create VETH pair
. Verify interfaces 'veth0a' and 'veth0b' exist
. Set IP address on target:data1 (dummy op)
. Set IP address on target:data2 (dummy op)
. Reset configuration
. Verify target:data1 and target:data2 still exist
. Verify VETH pair have been removed