Skip to content

Commit

Permalink
test: case: Move infix_interfaces into ietf-interfaces
Browse files Browse the repository at this point in the history
This is how all other models are handled, the topmodel is naming the
test directory
  • Loading branch information
mattiaswal committed Sep 16, 2024
1 parent fc4eb77 commit c1093e6
Show file tree
Hide file tree
Showing 67 changed files with 49 additions and 84 deletions.
5 changes: 1 addition & 4 deletions test/case/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
- name: ietf-interfaces
suite: ietf_interfaces/ietf_interfaces.yaml

- name: infix-interfaces
suite: infix_interfaces/infix_interfaces.yaml

- name: ietf-routing
suite: ietf_routing/ietf_routing.yaml

Expand All @@ -28,6 +25,6 @@

- name: ietf-hardware
suite: ietf_hardware/ietf_hardware.yaml

- name: infix-services
suite: infix_services/infix_services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Test basic connectivity to a bridge

==== Topology
ifdef::topdoc[]
image::../../test/case/infix_interfaces/bridge_basic/topology.png[Bridge basic topology]
image::../../test/case/ietf_interfaces/bridge_basic/topology.png[Bridge basic topology]
endif::topdoc[]
ifndef::topdoc[]
ifdef::testgroup[]
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Ping through both DUTs using bridged ports.

==== Topology
ifdef::topdoc[]
image::../../test/case/infix_interfaces/bridge_fwd_dual_dut/topology.png[Bridge forwarding dual DUTs topology]
image::../../test/case/ietf_interfaces/bridge_fwd_dual_dut/topology.png[Bridge forwarding dual DUTs topology]
endif::topdoc[]
ifndef::topdoc[]
ifdef::testgroup[]
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tests forwarding through a DUT with two bridged interfaces

==== Topology
ifdef::topdoc[]
image::../../test/case/infix_interfaces/bridge_fwd_sgl_dut/topology.png[Bridge forwarding single DUTs topology]
image::../../test/case/ietf_interfaces/bridge_fwd_sgl_dut/topology.png[Bridge forwarding single DUTs topology]
endif::topdoc[]
ifndef::topdoc[]
ifdef::testgroup[]
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ veth and bridge it with a physical port

==== Topology
ifdef::topdoc[]
image::../../test/case/infix_interfaces/bridge_veth/topology.png[Bridge with a physical port and a veth topology]
image::../../test/case/ietf_interfaces/bridge_veth/topology.png[Bridge with a physical port and a veth topology]
endif::topdoc[]
ifndef::topdoc[]
ifdef::testgroup[]
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Basic test of VLAN functionality in a bridge

==== Topology
ifdef::topdoc[]
image::../../test/case/infix_interfaces/bridge_vlan/topology.png[Bridge VLAN topology]
image::../../test/case/ietf_interfaces/bridge_vlan/topology.png[Bridge VLAN topology]
endif::topdoc[]
ifndef::topdoc[]
ifdef::testgroup[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Test that two VLAN is correctly separaretade in the bridge

==== Topology
ifdef::topdoc[]
image::../../test/case/infix_interfaces/bridge_vlan_separation/topology.png[Bridge VLAN separation topology]
image::../../test/case/ietf_interfaces/bridge_vlan_separation/topology.png[Bridge VLAN separation topology]
endif::topdoc[]
ifndef::topdoc[]
ifdef::testgroup[]
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Test that it is possible to ping a bridge through a bridge to another bridge

==== Topology
ifdef::topdoc[]
image::../../test/case/infix_interfaces/dual_bridge/topology.png[Dual bridges topology]
image::../../test/case/ietf_interfaces/dual_bridge/topology.png[Dual bridges topology]
endif::topdoc[]
ifndef::topdoc[]
ifdef::testgroup[]
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions test/case/ietf_interfaces/ietf_interfaces.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,39 @@

- name: routing_basic
case: routing_basic/test.py

- name: bridge_basic
case: bridge_basic/test.py

- name: bridge_veth
case: bridge_veth/test.py

- name: dual_bridge
case: dual_bridge/test.py

- name: bridge_vlan
case: bridge_vlan/test.py

- name: ipv4_autoconf
case: ipv4_autoconf/test.py

- name: bridge_fwd_sgl_dut
case: bridge_fwd_sgl_dut/test.py

- name: bridge_fwd_dual_dut
case: bridge_fwd_dual_dut/test.py

- name: bridge_vlan_separation
case: bridge_vlan_separation/test.py

- name: igmp_basic
case: igmp_basic/test.py

- name: igmp_vlan
case: igmp_vlan/test.py

- name: static_multicast_filters
case: static_multicast_filters/test.py

- name: vlan_qos
case: vlan_qos/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ the flooding stops as soon a join arrives

==== Topology
ifdef::topdoc[]
image::../../test/case/infix_interfaces/igmp_basic/topology.png[IGMP basic topology]
image::../../test/case/ietf_interfaces/igmp_basic/topology.png[IGMP basic topology]
endif::topdoc[]
ifndef::topdoc[]
ifdef::testgroup[]
Expand Down
Binary file added test/case/ietf_interfaces/igmp_basic/topology.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Test tagged IGMP control traffic and that VLAN separation is respected for multi

==== Topology
ifdef::topdoc[]
image::../../test/case/infix_interfaces/igmp_vlan/topology.png[IGMP VLAN topology]
image::../../test/case/ietf_interfaces/igmp_vlan/topology.png[IGMP VLAN topology]
endif::topdoc[]
ifndef::topdoc[]
ifdef::testgroup[]
Expand Down
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Verifies that linklocal (ZeroConf) work as expected

==== Topology
ifdef::topdoc[]
image::../../test/case/infix_interfaces/ipv4_autoconf/topology.png[IPv4 linklocal topology]
image::../../test/case/ietf_interfaces/ipv4_autoconf/topology.png[IPv4 linklocal topology]
endif::topdoc[]
ifndef::topdoc[]
ifdef::testgroup[]
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/case/ietf_interfaces/routing_basic/topology.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ enabled when using static multicast filters)

==== Topology
ifdef::topdoc[]
image::../../test/case/infix_interfaces/static_multicast_filters/topology.png[Static multicast filters topology]
image::../../test/case/ietf_interfaces/static_multicast_filters/topology.png[Static multicast filters topology]
endif::topdoc[]
ifndef::topdoc[]
ifdef::testgroup[]
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/case/ietf_interfaces/vlan_ping/topology.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ is handled correctly

==== Topology
ifdef::topdoc[]
image::../../test/case/infix_interfaces/vlan_qos/topology.png[VLAN QoS topology]
image::../../test/case/ietf_interfaces/vlan_qos/topology.png[VLAN QoS topology]
endif::topdoc[]
ifndef::topdoc[]
ifdef::testgroup[]
Expand Down
File renamed without changes.
Binary file added test/case/ietf_interfaces/vlan_qos/topology.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 0 additions & 26 deletions test/case/infix_interfaces/Readme.adoc

This file was deleted.

Binary file removed test/case/infix_interfaces/bridge_basic/topology.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed test/case/infix_interfaces/bridge_veth/topology.png
Binary file not shown.
Binary file not shown.
Binary file removed test/case/infix_interfaces/dual_bridge/topology.png
Binary file not shown.
Binary file not shown.
Binary file removed test/case/infix_interfaces/igmp_vlan/topology.png
Binary file not shown.
36 changes: 0 additions & 36 deletions test/case/infix_interfaces/infix_interfaces.yaml

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file removed test/case/infix_interfaces/vlan_qos/topology.png
Binary file not shown.
3 changes: 0 additions & 3 deletions test/spec/Readme.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ include::../case/ietf_interfaces/Readme.adoc[]

<<<

include::../case/infix_interfaces/Readme.adoc[]
<<<

include::../case/ietf_routing/Readme.adoc[]

<<<
Expand Down
3 changes: 0 additions & 3 deletions test/spec/Readme.adoc.in
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ include::../case/ietf_interfaces/Readme.adoc[]

<<<

include::../case/infix_interfaces/Readme.adoc[]
<<<

include::../case/ietf_routing/Readme.adoc[]

<<<
Expand Down

0 comments on commit c1093e6

Please sign in to comment.