Change flat network name for nosdn fdio scenario
[apex-tripleo-heat-templates.git] / puppet / services / kernel.yaml
index c142b47..1c2da40 100644 (file)
@@ -4,6 +4,10 @@ description: >
   Load kernel modules with kmod and configure kernel options with sysctl.
 
 parameters:
+  ServiceData:
+    default: {}
+    description: Dictionary packing service data
+    type: json
   ServiceNetMap:
     default: {}
     description: Mapping of service_name -> network name. Typically set
@@ -56,6 +60,11 @@ parameters:
                  ARP cache. The garbage collector will always run if there
                  are more than this number of entries in the cache.
     type: number
+  InotifyIntancesMax:
+    default: 1024
+    description: Configures sysctl fs.inotify.max_user_instances key
+    type: number
+
 
 outputs:
   role_data:
@@ -125,5 +134,9 @@ outputs:
             value: {get_param: NeighbourGcThreshold2}
           net.ipv4.neigh.default.gc_thresh3:
             value: {get_param: NeighbourGcThreshold3}
+          # set inotify value for neutron/dnsmasq scale
+          fs.inotify.max_user_instances:
+            value: {get_param: InotifyIntancesMax}
+
       step_config: |
         include ::tripleo::profile::base::kernel