Browse Source

Merge "Set bridge-nf-call-arptables"

tags/final-non-containers
Zuul 5 months ago
parent
commit
2d9a88e3ad
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