50ebe92524592b03b42df4daca3268000caccdfe
[apex-tripleo-heat-templates.git] / puppet / services / kernel.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   Load kernel modules with kmod and configure kernel options with sysctl.
5
6 parameters:
7   EndpointMap:
8     default: {}
9     description: Mapping of service endpoint -> protocol. Typically set
10                  via parameter_defaults in the resource registry.
11     type: json
12
13 outputs:
14   role_data:
15     description: Role data for the Kernel modules
16     value:
17       service_name: kernel
18       config_settings:
19         kernel_modules:
20           nf_conntrack: {}
21         sysctl_settings:
22           net.ipv4.tcp_keepalive_intvl:
23             value: 1
24           net.ipv4.tcp_keepalive_probes:
25             value: 5
26           net.ipv4.tcp_keepalive_time:
27             value: 5
28           net.nf_conntrack_max:
29             value: 500000
30           net.netfilter.nf_conntrack_max:
31             value: 500000
32           # prevent neutron bridges from autoconfiguring ipv6 addresses
33           net.ipv6.conf.default.accept_ra:
34             value: 0
35           net.ipv6.conf.default.autoconf:
36             value: 0
37           net.core.netdev_max_backlog:
38             value: 10000
39       step_config: |
40         include ::tripleo::profile::base::kernel