Adding reclass sections to idf-pod1 file 53/58453/3
authorPaul Vaduva <Paul.Vaduva@enea.com>
Tue, 12 Jun 2018 12:30:03 +0000 (14:30 +0200)
committerPaul Vaduva <Paul.Vaduva@enea.com>
Tue, 12 Jun 2018 14:13:48 +0000 (16:13 +0200)
reclass section is necessary to setup hugepages
size to 2M per hugepage as the defaults are 1G
which are not supported by thunderx. Plus adding
ntp servers to unh-pod1

Change-Id: I9cd2a8105032035a519411b80f95675a997a1fbd
Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
labs/unh/idf-pod1.yaml

index c22e037..a9fe386 100644 (file)
@@ -56,6 +56,8 @@ idf:
       timeout_comissioning: 10
       timeout_deploying: 15
     network:
+      ntp_strata_host1: 1.pool.ntp.org
+      ntp_strata_host2: 0.pool.ntp.org
       node:
         # Ordered list, index should be in sync with node index in PDF
         - interfaces: &interfaces
@@ -80,3 +82,29 @@ idf:
           busaddr: *busaddr
         - interfaces: *interfaces
           busaddr: *busaddr
+    reclass:
+      node:
+        - compute_params: &compute_params
+            common:
+              nova_cpu_pinning: &nova_cpu_pinning_common "8-47"
+              compute_hugepages_size: 2M
+              compute_hugepages_count: 8192
+              compute_hugepages_mount: /mnt/hugepages_2M
+              compute_kernel_isolcpu: *nova_cpu_pinning_common
+            dpdk:
+              nova_cpu_pinning: "12-47"
+              compute_hugepages_size: 2M
+              compute_hugepages_count: 8192
+              compute_hugepages_mount: /mnt/hugepages_2M
+              compute_kernel_isolcpu: *nova_cpu_pinning_common
+              compute_dpdk_driver: vfio
+              compute_ovs_pmd_cpu_mask: "0x300"
+              compute_ovs_dpdk_socket_mem: "2048"
+              compute_ovs_dpdk_lcore_mask: "0xC00"
+              compute_ovs_memory_channels: "2"
+              dpdk0_driver: vfio-pci
+              dpdk0_n_rxq: 2
+        - compute_params: *compute_params
+        - compute_params: *compute_params
+        - compute_params: *compute_params
+        - compute_params: *compute_params