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/csit-sut/Dockerfile2
-rw-r--r--fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs-spr.sh2
-rw-r--r--fdio.infra.ansible/roles/vpp_device/tasks/thunderx2.yaml2
3 files changed, 5 insertions, 1 deletions
diff --git a/fdio.infra.ansible/roles/docker_images/files/csit-sut/Dockerfile b/fdio.infra.ansible/roles/docker_images/files/csit-sut/Dockerfile
index 26463db449..85537bc32f 100644
--- a/fdio.infra.ansible/roles/docker_images/files/csit-sut/Dockerfile
+++ b/fdio.infra.ansible/roles/docker_images/files/csit-sut/Dockerfile
@@ -1,5 +1,7 @@
FROM base-ubuntu2204:local
+EXPOSE 2222
+
COPY supervisord.conf /etc/supervisor/supervisord.conf
CMD ["sh", "-c", "rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api; /usr/bin/supervisord -c /etc/supervisor/supervisord.conf; /usr/sbin/sshd -D -p 2222"] \ No newline at end of file
diff --git a/fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs-spr.sh b/fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs-spr.sh
index 7be48380e7..524807842f 100644
--- a/fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs-spr.sh
+++ b/fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs-spr.sh
@@ -23,4 +23,6 @@ PCI_WHITELIST+=($(lspci -Dmmd ':1592:0200' | cut -f1 -d' '))
declare -A PF_INDICES
# Intel NICs
PF_INDICES["0000:2a:00.0"]=0
+PF_INDICES["0000:2c:00.0"]=1
PF_INDICES["0000:3d:00.0"]=0
+PF_INDICES["0000:3f:00.0"]=1
diff --git a/fdio.infra.ansible/roles/vpp_device/tasks/thunderx2.yaml b/fdio.infra.ansible/roles/vpp_device/tasks/thunderx2.yaml
index 438095fc00..618a65ad7f 100644
--- a/fdio.infra.ansible/roles/vpp_device/tasks/thunderx2.yaml
+++ b/fdio.infra.ansible/roles/vpp_device/tasks/thunderx2.yaml
@@ -1,5 +1,5 @@
---
-# file: roles/vpp_device/tasks/thunderx2.yaml
+# file: tasks/thunderx2.yaml
- name: Load Kernel Modules On Startup (vfio-pci)
ansible.builtin.lineinfile: