Browse Source

Merge "Change default value for vRouter thread count"

Jenkins 1 year ago
parent
commit
d0d1d82bb3

+ 1
- 1
deployment_scripts/puppet/modules/contrail/manifests/compute/vrouter.pp View File

@@ -215,7 +215,7 @@ class contrail::compute::vrouter {
215 215
   } else {
216 216
     contrail_vrouter_agent_config {
217 217
       'TASK/thread_count':  value => '8';
218
-      'FLOWS/thread_count': value => '2';
218
+      'FLOWS/thread_count': value => $contrail::vrouter_thread_count;
219 219
     }
220 220
     file {'/etc/network/interfaces.d/ifcfg-vhost0':
221 221
       ensure  => present,

+ 1
- 0
deployment_scripts/puppet/modules/contrail/manifests/init.pp View File

@@ -112,6 +112,7 @@ class contrail {
112 112
   $external         = $settings['contrail_external']
113 113
   $route_target     = $settings['contrail_route_target']
114 114
   $gateways         = split($settings['contrail_gateways'], ',')
115
+  $vrouter_thread_count      = pick($settings['vrouter_thread_count'], '4')
115 116
 
116 117
   # DPDK settings
117 118
   $global_dpdk_enabled  = $settings['contrail_global_dpdk']

Loading…
Cancel
Save