aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible
diff options
context:
space:
mode:
Diffstat (limited to 'fdio.infra.ansible')
-rw-r--r--fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs-alt.sh2
-rw-r--r--fdio.infra.ansible/roles/vpp_device/tasks/main.yaml30
2 files changed, 21 insertions, 11 deletions
diff --git a/fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs-alt.sh b/fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs-alt.sh
index 2f9b841947..cd04d61251 100644
--- a/fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs-alt.sh
+++ b/fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs-alt.sh
@@ -24,7 +24,7 @@ PCI_BLACKLIST+=($(lspci -Dmmd ':1017:0200' | cut -f1 -d' '))
# Add Intel Corporation Ethernet Controller XL710 for 40GbE QSFP+ to whitelist.
PCI_WHITELIST=($(lspci -Dmmd ':1583:0200' | cut -f1 -d' '))
# Add MT2892 Family [ConnectX-6 Dx] 101d to whitelist.
-PCI_WHITELIST=($(lspci -Dmmd ':101d:0200' | cut -f1 -d' '))
+PCI_WHITELIST+=($(lspci -Dmmd ':101d:0200' | cut -f1 -d' '))
# See http://pci-ids.ucw.cz/v2.2/pci.ids for more info.
diff --git a/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml b/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml
index 44505d3065..91916456af 100644
--- a/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml
@@ -21,9 +21,9 @@
tags:
- set-sysctl
-- name: "Disable IPv6 Router Advertisement"
+- name: "Disable IPv6 MLDv1 interval"
ansible.builtin.sysctl:
- name: "net.ipv6.conf.all.accept_ra"
+ name: "net.ipv6.conf.default.mldv1_unsolicited_report_interval"
value: "0"
state: "present"
sysctl_file: "/etc/sysctl.d/90-csit.conf"
@@ -31,9 +31,9 @@
tags:
- set-sysctl
-- name: "Disable IPv6 MLDv1 interval"
+- name: "Disable IPv6 MLDv2 interval"
ansible.builtin.sysctl:
- name: "net.ipv6.conf.all.mldv1_unsolicited_report_interval"
+ name: "net.ipv6.conf.default.mldv2_unsolicited_report_interval"
value: "0"
state: "present"
sysctl_file: "/etc/sysctl.d/90-csit.conf"
@@ -41,9 +41,9 @@
tags:
- set-sysctl
-- name: "Disable IPv6 MLDv2 interval"
+- name: "Disable IPv6 Autoconf"
ansible.builtin.sysctl:
- name: "net.ipv6.conf.all.mldv2_unsolicited_report_interval"
+ name: "net.ipv6.conf.default.autoconf"
value: "0"
state: "present"
sysctl_file: "/etc/sysctl.d/90-csit.conf"
@@ -51,9 +51,9 @@
tags:
- set-sysctl
-- name: "Disable IPv6 Autoconf"
+- name: "Disable IPv6 MC Forwarding"
ansible.builtin.sysctl:
- name: "net.ipv6.conf.all.autoconf"
+ name: "net.ipv6.conf.default.mc_forwarding"
value: "0"
state: "present"
sysctl_file: "/etc/sysctl.d/90-csit.conf"
@@ -61,9 +61,19 @@
tags:
- set-sysctl
-- name: "Disable IPv6 MC Forwarding"
+- name: "Disable IPv4 IGMPv2 interval"
+ ansible.builtin.sysctl:
+ name: "net.ipv4.conf.default.igmpv2_unsolicited_report_interval"
+ value: "0"
+ state: "present"
+ sysctl_file: "/etc/sysctl.d/90-csit.conf"
+ reload: "yes"
+ tags:
+ - set-sysctl
+
+- name: "Disable IPv4 IGMPv3 interval"
ansible.builtin.sysctl:
- name: "net.ipv6.conf.all.mc_forwarding"
+ name: "net.ipv4.conf.default.igmpv3_unsolicited_report_interval"
value: "0"
state: "present"
sysctl_file: "/etc/sysctl.d/90-csit.conf"