summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Richard <joseph.richard@windriver.com>2019-01-08 11:41:07 -0500
committerJoseph Richard <joseph.richard@windriver.com>2019-01-11 13:13:12 -0500
commitf2a734a5f1d07603cde45dab675000688e87890a (patch)
treeecdb6f60633c9df964140e6922718f390232d01b
parent5dcff4e6164a5d95749ea8f9fa36048045bba84c (diff)
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>
Notes
Notes (review): Code-Review+2: Don Penney <don.penney@windriver.com> Code-Review+2: Bob Church <robert.church@windriver.com> Workflow+1: Bob Church <robert.church@windriver.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 11 Jan 2019 19:35:19 +0000 Reviewed-on: https://review.openstack.org/629333 Project: openstack/stx-config Branch: refs/heads/master
-rw-r--r--puppet-manifests/src/modules/platform/manifests/sysctl.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/puppet-manifests/src/modules/platform/manifests/sysctl.pp b/puppet-manifests/src/modules/platform/manifests/sysctl.pp
index c4e8279..17ef9f7 100644
--- a/puppet-manifests/src/modules/platform/manifests/sysctl.pp
+++ b/puppet-manifests/src/modules/platform/manifests/sysctl.pp
@@ -18,6 +18,17 @@ class platform::sysctl
18 value => '8', 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 # Tuning options for low latency compute 32 # Tuning options for low latency compute
22 if $low_latency { 33 if $low_latency {
23 # Increase VM stat interval 34 # Increase VM stat interval