hs-test: abstract away topology from test cases 32/37832/7
authorMaros Ondrejicka <maros.ondrejicka@pantheon.tech>
Wed, 14 Dec 2022 15:30:04 +0000 (16:30 +0100)
committerFlorin Coras <florin.coras@gmail.com>
Mon, 19 Dec 2022 17:11:52 +0000 (17:11 +0000)
commitdb823ed6e9543741f6969ff160314093002e037e
treebf046f85d1052058da38192687874e361c684e4c
parentaff4d320f0fe9ce68fcb83ee9ab0abc2d8612644
hs-test: abstract away topology from test cases

Definition of shared volumes and containers has been moved
to yaml files to be together with network topology.
Containers are automatically run at the beginning of each test case
and stopped afterward.

Type: test
Signed-off-by: Maros Ondrejicka <maros.ondrejicka@pantheon.tech>
Change-Id: I264cbb4f1355f8bd7aade221e9609fb5b9bd693e
22 files changed:
extras/hs-test/Dockerfile.vpp
extras/hs-test/README.rst
extras/hs-test/actions.go
extras/hs-test/container.go
extras/hs-test/echo_test.go
extras/hs-test/framework_test.go
extras/hs-test/http_test.go
extras/hs-test/ldp_test.go
extras/hs-test/main.go
extras/hs-test/proxy_test.go
extras/hs-test/suite_ns_test.go [new file with mode: 0644]
extras/hs-test/suite_tap_test.go [new file with mode: 0644]
extras/hs-test/suite_veth_test.go [new file with mode: 0644]
extras/hs-test/topo-containers/2peerVeth.yaml [new file with mode: 0755]
extras/hs-test/topo-containers/ns.yaml [new file with mode: 0755]
extras/hs-test/topo-network/2peerVeth.yaml [moved from extras/hs-test/topo/2peerVeth.yaml with 99% similarity]
extras/hs-test/topo-network/ns.yaml [moved from extras/hs-test/topo/ns.yaml with 92% similarity]
extras/hs-test/topo-network/tap.yaml [moved from extras/hs-test/topo/tap.yaml with 100% similarity]
extras/hs-test/topo.go
extras/hs-test/utils.go
extras/hs-test/vcl_test.go
extras/hs-test/vppinstance.go