mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-06 15:43:02 +02:00
tests: Add test specification
Add minor changes in all testscripts, to add name and description Add generated test specification Add generated topology image
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
=== Routing basic
|
||||
==== Description
|
||||
Test that ipv4 forwarding setting in configuration is respected
|
||||
|
||||
==== Topology
|
||||
ifdef::topdoc[]
|
||||
image::/home/lazzer/Documents/addiva/infix/test/case/ietf_interfaces/routing_basic/topology.png[Routing basic topology]
|
||||
|
||||
endif::topdoc[]
|
||||
ifndef::topdoc[]
|
||||
ifdef::testgroup[]
|
||||
image::lazzer/Documents/addiva/infix/test/case/ietf_interfaces/routing_basic/topology.png[Routing basic topology]
|
||||
|
||||
endif::testgroup[]
|
||||
ifndef::testgroup[]
|
||||
image::topology.png[Routing basic topology]
|
||||
|
||||
endif::testgroup[]
|
||||
endif::topdoc[]
|
||||
==== Test sequence
|
||||
. Initialize
|
||||
. Setup host
|
||||
. Enable forwarding
|
||||
. Traffic is forwarded
|
||||
. Disable forwarding
|
||||
. Traffic is not forwarded
|
||||
|
||||
|
||||
<<<
|
||||
|
||||
@@ -16,6 +16,11 @@
|
||||
# | [ HOST ] |
|
||||
# '----------------------------------------------'
|
||||
|
||||
"""
|
||||
Routing basic
|
||||
|
||||
Test that ipv4 forwarding setting in configuration is respected
|
||||
"""
|
||||
import infamy
|
||||
|
||||
def config_target(target, tport0, tport1, enable_fwd):
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 6.0 KiB |
Reference in New Issue
Block a user