aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible
diff options
context:
space:
mode:
authorjuraj.linkes <juraj.linkes@pantheon.tech>2020-03-31 11:59:55 +0200
committerjuraj.linkes <juraj.linkes@pantheon.tech>2020-03-31 11:59:55 +0200
commit51b70fc47a2aeb40e26c1b620ccc89af2762b0c9 (patch)
treea7776b4a0c1c8f55c8c6025433eca66514669629 /resources/tools/testbed-setup/ansible
parent423995e9d218fd45bf17ce96af3f4d620d1f1c61 (diff)
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 <juraj.linkes@pantheon.tech>
Diffstat (limited to 'resources/tools/testbed-setup/ansible')
-rw-r--r--resources/tools/testbed-setup/ansible/roles/vpp_device/tasks/main.yaml20
1 files changed, 20 insertions, 0 deletions
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"