Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: Ia8067fb1683295fb711bbba81a35b0e6d18b084f
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
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
---
-# file: roles/vpp_device/tasks/thunderx2.yaml
+# file: tasks/thunderx2.yaml
- name: Load Kernel Modules On Startup (vfio-pci)
ansible.builtin.lineinfile:
# Add Intel Corporation E810 Virtual Function to the
# whitelist.
pci_id="0x1889"
- tg_netdev=(ens2)
- dut1_netdev=(ens4)
- ports_per_nic=2
+ tg_netdev=(enp42s0 enp44s0)
+ dut1_netdev=(enp61s0 enp63s0)
+ ports_per_nic=1
;;
"1n_vbox")
# Add Intel Corporation 82545EM Gigabit Ethernet Controller to the