maxcpus: "24"
inventory_ipmi_hostname: "10.30.50.95"
-cpu_microarchitecture: "octeon"
\ No newline at end of file
+cpu_microarchitecture: "octeon"
+
+static_interfaces:
+ - name: "enP2p2s0"
+ pci_address: "0002:02:00.0"
+ mac_address: "1a:cc:6a:50:05:2a"
+ - name: "enP2p3s0"
+ pci_address: "0002:03:00.0"
+ mac_address: "1a:cc:6a:50:05:2b"
\ No newline at end of file
maxcpus: "24"
inventory_ipmi_hostname: "10.30.50.96"
-cpu_microarchitecture: "octeon"
\ No newline at end of file
+cpu_microarchitecture: "octeon"
+
+static_interfaces:
+ - name: "enP2p2s0"
+ pci_address: "0002:02:00.0"
+ mac_address: "40:60:5a:02:e1:60"
+ - name: "enP2p3s0"
+ pci_address: "0002:03:00.0"
+ mac_address: "40:a6:b7:67:2b:ec"
\ No newline at end of file
--- /dev/null
+---
+# file: tasks/reset_network_interfaces.yaml
+
+- name: Reset Network Interfaces
+ block:
+ - name: Bind Network Interfaces
+ ansible.builtin.shell: "dpdk-devbind.py -b rvu_nicpf {{ item.pci_address }}"
+ loop:
+ "{{ static_interfaces }}"
+ tags:
+ - bind-network-interfaces
+
+ - name: Set MAC Address
+ ansible.builtin.shell: "macchanger -m {{ item.mac_address }} {{ item.name }}"
+ loop:
+ "{{ static_interfaces }}"
+ failed_when: false
+ tags:
+ - set-mac-address
\ No newline at end of file
tags:
- kill-containers
- - name: "Set SSH port to 6001 if docker_sut"
+ - name: Set SSH port to 6001 if docker_sut
set_fact:
ansible_port: 6001
when: docker_sut is defined
tags:
- remove-package
- - name: "Set SSH port to 6002 if docker_sut"
+ - name: Set SSH port to 6002 if docker_sut
set_fact:
ansible_port: 6002
when: docker_sut is defined
tags:
- remove-package
- - name: "Set SSH port to 22 if docker_sut"
+ - name: Set SSH port to 22 if docker_sut
set_fact:
ansible_port: 22
when: docker_sut is defined
vars:
package: "*vpp*"
tags:
- - remove-package
\ No newline at end of file
+ - remove-package
+
+ - name: Reset Network Interfaces
+ import_tasks: reset_network_interfaces.yaml
+ when: cpu_microarchitecture == "octeon"
+ tags:
+ - reset-network-interfaces
\ No newline at end of file
--- /dev/null
+# 3n-oct
+## ./ip4
+### Cavium-100G
+#### dpdk-vfio-pci
+##### ethip4-ip4base
+1c AND 64b AND ndrpdr AND cavium-100g AND drv_vfio_pci AND ethip4-ip4base
+2c AND 64b AND ndrpdr AND cavium-100g AND drv_vfio_pci AND ethip4-ip4base
+4c AND 64b AND ndrpdr AND cavium-100g AND drv_vfio_pci AND ethip4-ip4base
\ No newline at end of file
--- /dev/null
+# 3n-oct
+## ./ip4
+### Cavium-100G
+#### dpdk-vfio-pci
+##### ethip4-ip4base
+1c AND 64b AND mrr AND cavium-100g AND drv_vfio_pci AND ethip4-ip4base
+2c AND 64b AND mrr AND cavium-100g AND drv_vfio_pci AND ethip4-ip4base
+4c AND 64b AND mrr AND cavium-100g AND drv_vfio_pci AND ethip4-ip4base
\ No newline at end of file
--- /dev/null
+# 3n-oct
+## ./ip4
+### Cavium-100G
+#### dpdk-vfio-pci
+##### ethip4-ip4base
+1c AND 64b AND ndrpdr AND cavium-100g AND drv_vfio_pci AND ethip4-ip4base
+2c AND 64b AND ndrpdr AND cavium-100g AND drv_vfio_pci AND ethip4-ip4base
+4c AND 64b AND ndrpdr AND cavium-100g AND drv_vfio_pci AND ethip4-ip4base
\ No newline at end of file
pci_address: "0002:03:00.0"
ip4_address: 172.16.20.2
driver: rvu_nicpf
- link: link2
+ link: link3
model: Cavium-A063-100G
port2:
# s87-t215-sut1-c6/p1 - 100GE port2 Cavium A063 2p100GE.
pci_address: "0002:02:00.0"
ip4_address: 172.16.30.2
driver: rvu_nicpf
- link: link3
+ link: link2
model: Cavium-A063-100G
\ No newline at end of file