diff options
author | Maros Ondrejicka <maros.ondrejicka@pantheon.tech> | 2023-01-26 10:07:29 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2023-02-09 17:02:43 +0000 |
commit | ffa3f60290499bdacc37a97c49f2e794b5e1f18c (patch) | |
tree | c23820e0d91d2a1a0eef2596b0de60c06f1ea303 /extras/hs-test/topo-containers | |
parent | 7a6532bb9f3b9c429f92d11a6ccbf55638906d0a (diff) |
hs-test: configure VPP from test context
Instead of configuring VPP instances running inside of a container,
now the configuration is going to be done from within the test context
by using binary API and shared volume that exposes api socket.
This converts just some of the test cases, rest is to follow.
Type: test
Signed-off-by: Maros Ondrejicka <maros.ondrejicka@pantheon.tech>
Change-Id: I87e4ab15de488f0eebb01ff514596265fc2a787f
Diffstat (limited to 'extras/hs-test/topo-containers')
-rw-r--r-- | extras/hs-test/topo-containers/2peerVeth.yaml | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/extras/hs-test/topo-containers/2peerVeth.yaml b/extras/hs-test/topo-containers/2peerVeth.yaml index 246e5cac1bd..72af1c9c838 100644 --- a/extras/hs-test/topo-containers/2peerVeth.yaml +++ b/extras/hs-test/topo-containers/2peerVeth.yaml @@ -1,33 +1,25 @@ --- volumes: - volume: &server-vol - host-dir: server-share + host-dir: /tmp/server-share + container-dir: /tmp/server-share + is-default-work-dir: true - volume: &client-vol - host-dir: client-share + host-dir: /tmp/client-share + container-dir: "/tmp/client-share" + is-default-work-dir: true containers: - name: "server-vpp" volumes: - <<: *server-vol - container-dir: "/tmp/server-share" - is-default-work-dir: true - - host-dir: "/tmp/server" - container-dir: "/tmp/server" - name: "client-vpp" volumes: - <<: *client-vol - container-dir: "/tmp/client-share" - is-default-work-dir: true - - host-dir: "/tmp/client" - container-dir: "/tmp/client" - name: "server-application" volumes: - <<: *server-vol - container-dir: "/tmp/server-share" - is-default-work-dir: true - name: "client-application" volumes: - <<: *client-vol - container-dir: "/tmp/client-share" - is-default-work-dir: true |