Browse Source

Set bridge-nf-call-arptables

This commit sets net.bridge.bridge-nf-call-arptables=1, which was
found to be required for a containerized neutron deployment.

Story: 2004520
Task: 28789
Change-Id: I0163535ed6bac7e775a63dfa3d54727c60f4208d
Signed-off-by: Joseph Richard <joseph.richard@windriver.com>
tags/final-non-containers
Joseph Richard 5 months ago
parent
commit
f2a734a5f1
1 changed files with 11 additions and 0 deletions
  1. 11
    0
      puppet-manifests/src/modules/platform/manifests/sysctl.pp

+ 11
- 0
puppet-manifests/src/modules/platform/manifests/sysctl.pp View File

@@ -18,6 +18,17 @@ class platform::sysctl
18 18
     value => '8',
19 19
   }
20 20
 
21
+  # Enable br_netfilter (required to allow setting bridge-nf-call-arptables)
22
+  exec { 'modprobe br_netfilter':
23
+    path    => [ '/usr/bin', '/usr/sbin', '/usr/local/bin', '/etc', '/sbin', '/bin' ],
24
+    command => 'modprobe br_netfilter',
25
+  }
26
+
27
+  # Set bridge-nf-call-arptables for containerized neutron
28
+  -> sysctl::value { 'net.bridge.bridge-nf-call-arptables':
29
+    value => '1',
30
+  }
31
+
21 32
   # Tuning options for low latency compute
22 33
   if $low_latency {
23 34
     # Increase VM stat interval

Loading…
Cancel
Save