tripleo-heat-templates/deployment/kernel
Michele Baldessari f4eb7d475a Expose additional network sysctl knobs
For BGP we need to expose a few additional sysctl entries.
Namely we need net.ipv4.conf.all.rp_filter and
net.ipv6.conf.all.forwarding. Let's expose them like
the other ones via the KernelIpv4ConfAllRpFilter and
KernelIpv6ConfAllForwarding heat parameters, respectively.

We set KernelIpv4ConfAllRpFilter to a default of 1 as that is
what is the default with RHEL >= 6
(https://access.redhat.com/solutions/53031)

We set KernelIpv6ConfAllForwarding to a default of 0 since that is
the default with at least RHEL >= 7.

Verified the defaults on RHEL/CentOS-7:
$ uname -a
Linux rhel-7.redhat.local 3.10.0-1160.24.1.el7.x86_64 #1 SMP Thu Mar 25 21:21:56 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
$ cat /proc/sys/net/ipv4/conf/all/rp_filter /proc/sys/net/ipv6/conf/all/forwarding
1
0

and RHEL/CentOS-8:
$ uname -a
Linux localhost 4.18.0-293.el8.x86_64 #1 SMP Mon Mar 1 10:04:09 EST 2021 x86_64 x86_64 x86_64 GNU/Linux
$ cat /proc/sys/net/ipv4/conf/all/rp_filter /proc/sys/net/ipv6/conf/all/forwarding
1
0

Co-Authored-By: Carlos Gonçalves <cgoncalves@redhat.com>

Change-Id: I6d7d598e374cdc5289a61a7fb6b532c80a714458
2021-04-11 12:01:34 +02:00
..
kernel-baremetal-ansible.yaml Expose additional network sysctl knobs 2021-04-11 12:01:34 +02:00
kernel-boot-params-baremetal-ansible.yaml Use 'wallaby' heat_template_version 2021-03-31 17:35:12 +05:30