Maros Ondrejicka db823ed6e9 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
2022-12-19 17:11:52 +00:00

32 lines
799 B
YAML
Executable File

---
volumes:
- server-share
- client-share
containers:
- name: "server-vpp"
volumes:
- host-dir: "server-share"
container-dir: "/tmp/server-share"
is-default-work-dir: true
- host-dir: "/tmp/server"
container-dir: "/tmp/server"
- name: "client-vpp"
volumes:
- host-dir: "client-share"
container-dir: "/tmp/client-share"
is-default-work-dir: true
- host-dir: "/tmp/client"
container-dir: "/tmp/client"
- name: "server-application"
volumes:
- host-dir: "server-share"
container-dir: "/tmp/server-share"
is-default-work-dir: true
- name: "client-application"
volumes:
- host-dir: "client-share"
container-dir: "/tmp/client-share"
is-default-work-dir: true