From 51b70fc47a2aeb40e26c1b620ccc89af2762b0c9 Mon Sep 17 00:00:00 2001 From: "juraj.linkes" Date: Tue, 31 Mar 2020 11:59:55 +0200 Subject: Add disable_ra config to VPP device ansible Router advertisement from linux interfaces in VPP Device TGs could result in unsolicited packets arriving in DUT which would produce false negatives. Change-Id: I121a92310a8fe47f36e253656e126123704efc0a Signed-off-by: juraj.linkes --- .../ansible/roles/vpp_device/tasks/main.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'resources') diff --git a/resources/tools/testbed-setup/ansible/roles/vpp_device/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/vpp_device/tasks/main.yaml index 6180300d74..b93853b01f 100644 --- a/resources/tools/testbed-setup/ansible/roles/vpp_device/tasks/main.yaml +++ b/resources/tools/testbed-setup/ansible/roles/vpp_device/tasks/main.yaml @@ -11,6 +11,26 @@ tags: - load-kernel-modules +- name: VPP_device - Disable ipv6 router advertisement + sysctl: + name: "net.ipv6.conf.default.accept_ra" + value: "0" + state: "present" + sysctl_file: "/etc/sysctl.d/90-csit.conf" + reload: "yes" + tags: + - set-sysctl + +- name: VPP_device - Disable ipv6 router advertisement + sysctl: + name: "net.ipv6.conf.all.accept_ra" + value: "0" + state: "present" + sysctl_file: "/etc/sysctl.d/90-csit.conf" + reload: "yes" + tags: + - set-sysctl + - name: VPP_device - Copy csit-initialize-vfs.sh copy: src: "files/csit-initialize-vfs.sh" -- cgit 1.2.3-korg