2f01578e94eba6164964ca1174f8f2d5e10df169
[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   ServiceNetMap:
8     default: {}
9     description: Mapping of service_name -> network name. Typically set
10                  via parameter_defaults in the resource registry.  This
11                  mapping overrides those in ServiceNetMapDefaults.
12     type: json
13   DefaultPasswords:
14     default: {}
15     type: json
16   EndpointMap:
17     default: {}
18     description: Mapping of service endpoint -> protocol. Typically set
19                  via parameter_defaults in the resource registry.
20     type: json
21
22 outputs:
23   role_data:
24     description: Role data for the Kernel modules
25     value:
26       service_name: kernel
27       config_settings:
28         kernel_modules:
29           nf_conntrack: {}
30         sysctl_settings:
31           net.ipv4.tcp_keepalive_intvl:
32             value: 1
33           net.ipv4.tcp_keepalive_probes:
34             value: 5
35           net.ipv4.tcp_keepalive_time:
36             value: 5
37           net.nf_conntrack_max:
38             value: 500000
39           net.netfilter.nf_conntrack_max:
40             value: 500000
41           # prevent neutron bridges from autoconfiguring ipv6 addresses
42           net.ipv6.conf.default.accept_ra:
43             value: 0
44           net.ipv6.conf.default.autoconf:
45             value: 0
46           net.core.netdev_max_backlog:
47             value: 10000
48       step_config: |
49         include ::tripleo::profile::base::kernel