aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible
diff options
context:
space:
mode:
Diffstat (limited to 'fdio.infra.ansible')
-rw-r--r--fdio.infra.ansible/roles/docker_images/files/base/Dockerfile2
-rw-r--r--fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j218
-rw-r--r--fdio.infra.ansible/roles/docker_images/templates/docker-compose-tg.yaml.j218
3 files changed, 37 insertions, 1 deletions
diff --git a/fdio.infra.ansible/roles/docker_images/files/base/Dockerfile b/fdio.infra.ansible/roles/docker_images/files/base/Dockerfile
index 18cf8b3a3a..cdb23e9d44 100644
--- a/fdio.infra.ansible/roles/docker_images/files/base/Dockerfile
+++ b/fdio.infra.ansible/roles/docker_images/files/base/Dockerfile
@@ -30,7 +30,6 @@ RUN apt-get -q update \
ethtool \
gdb \
gfortran \
- iperf3 \
libapr1 \
libblas-dev \
libffi-dev \
@@ -61,6 +60,7 @@ RUN apt-get -q update \
screen \
socat \
software-properties-common \
+ strace \
strongswan \
ssh \
sshpass \
diff --git a/fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j2 b/fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j2
index be0ffcd9f4..d24ea0236e 100644
--- a/fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j2
+++ b/fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j2
@@ -29,6 +29,15 @@ services:
source: "/opt/boot/"
target: "/opt/boot/"
- type: "bind"
+ source: "/usr/bin/iperf3"
+ target: "/usr/bin/iperf3"
+ - type: "bind"
+ source: "/usr/lib/x86_64-linux-gnu/libiperf.so.0"
+ target: "/usr/lib/x86_64-linux-gnu/libiperf.so.0"
+ - type: "bind"
+ source: "/usr/lib/x86_64-linux-gnu/libiperf.so.0.0.0"
+ target: "/usr/lib/x86_64-linux-gnu/libiperf.so.0.0.0"
+ - type: "bind"
source: "/var/run/docker.sock"
target: "/var/run/docker.sock"
- type: "bind"
@@ -63,6 +72,15 @@ services:
source: "/opt/boot/"
target: "/opt/boot/"
- type: "bind"
+ source: "/usr/bin/iperf3"
+ target: "/usr/bin/iperf3"
+ - type: "bind"
+ source: "/usr/lib/x86_64-linux-gnu/libiperf.so.0"
+ target: "/usr/lib/x86_64-linux-gnu/libiperf.so.0"
+ - type: "bind"
+ source: "/usr/lib/x86_64-linux-gnu/libiperf.so.0.0.0"
+ target: "/usr/lib/x86_64-linux-gnu/libiperf.so.0.0.0"
+ - type: "bind"
source: "/var/run/docker.sock"
target: "/var/run/docker.sock"
- type: "bind"
diff --git a/fdio.infra.ansible/roles/docker_images/templates/docker-compose-tg.yaml.j2 b/fdio.infra.ansible/roles/docker_images/templates/docker-compose-tg.yaml.j2
index 6dcbc9f871..20ac905c5a 100644
--- a/fdio.infra.ansible/roles/docker_images/templates/docker-compose-tg.yaml.j2
+++ b/fdio.infra.ansible/roles/docker_images/templates/docker-compose-tg.yaml.j2
@@ -29,6 +29,15 @@ services:
source: "/opt/"
target: "/opt/"
- type: "bind"
+ source: "/usr/bin/iperf3"
+ target: "/usr/bin/iperf3"
+ - type: "bind"
+ source: "/usr/lib/x86_64-linux-gnu/libiperf.so.0"
+ target: "/usr/lib/x86_64-linux-gnu/libiperf.so.0"
+ - type: "bind"
+ source: "/usr/lib/x86_64-linux-gnu/libiperf.so.0.0.0"
+ target: "/usr/lib/x86_64-linux-gnu/libiperf.so.0.0.0"
+ - type: "bind"
source: "/usr/lib/firmware/"
target: "/usr/lib/firmware/"
tg-1:
@@ -60,5 +69,14 @@ services:
source: "/opt/"
target: "/opt/"
- type: "bind"
+ source: "/usr/bin/iperf3"
+ target: "/usr/bin/iperf3"
+ - type: "bind"
+ source: "/usr/lib/x86_64-linux-gnu/libiperf.so.0"
+ target: "/usr/lib/x86_64-linux-gnu/libiperf.so.0"
+ - type: "bind"
+ source: "/usr/lib/x86_64-linux-gnu/libiperf.so.0.0.0"
+ target: "/usr/lib/x86_64-linux-gnu/libiperf.so.0.0.0"
+ - type: "bind"
source: "/usr/lib/firmware/"
target: "/usr/lib/firmware/"