[IDF] arm-pod6: Fix nova_cpu_pinning param expr 79/52679/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 26 Feb 2018 18:07:09 +0000 (19:07 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 26 Feb 2018 18:07:09 +0000 (19:07 +0100)
Constructs based on reclass interpolation (e.g. '${_param:x}') do
not work when parameters are passed via reclass.storage templating,
so change reclass interpolation syntax with classic YAML anchors.

Change-Id: Ia974d45fc6a5869f4b30b31b947df088ea3aaf0c
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
labs/arm/idf-pod6.yaml

index 223b95f..db12c30 100644 (file)
@@ -85,11 +85,11 @@ idf:
       node:
         - compute_params: &compute_params
             common:
-              nova_cpu_pinning: "1,2,3,4,5,7,8,9,10,11"
+              nova_cpu_pinning: &nova_cpu_pinning_common "1,2,3,4,5,7,8,9,10,11"
               compute_hugepages_size: 1G
               compute_hugepages_count: 16
               compute_hugepages_mount: /mnt/hugepages_1G
-              compute_kernel_isolcpu: ${_param:nova_cpu_pinning}
+              compute_kernel_isolcpu: *nova_cpu_pinning_common
             dpdk:
               nova_cpu_pinning: "5-7,13-15"
               compute_hugepages_size: 2M