From a2777607998aa1f81b57b35d456c528eca030754 Mon Sep 17 00:00:00 2001 From: davidplunkett Date: Thu, 23 May 2019 15:25:28 +0000 Subject: [PATCH] fix format errors in calico and nova templates Signed-off-by: davidplunkett Change-Id: I9809ca86881082812738ed673ec711bc0bb8c90b --- .../templates/software/charts/kubernetes/container-networking/calico.j2 | 1 + .../ovsdpdk/templates/software/charts/osh/openstack-compute-kit/nova.j2 | 2 +- .../templates/software/charts/kubernetes/container-networking/calico.j2 | 1 + .../sriov/templates/software/charts/osh/openstack-compute-kit/nova.j2 | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/site_type/ovsdpdk/templates/software/charts/kubernetes/container-networking/calico.j2 b/site_type/ovsdpdk/templates/software/charts/kubernetes/container-networking/calico.j2 index 07c2bbe..356aa10 100644 --- a/site_type/ovsdpdk/templates/software/charts/kubernetes/container-networking/calico.j2 +++ b/site_type/ovsdpdk/templates/software/charts/kubernetes/container-networking/calico.j2 @@ -1,3 +1,4 @@ +--- ############################################################################## # Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. # # # diff --git a/site_type/ovsdpdk/templates/software/charts/osh/openstack-compute-kit/nova.j2 b/site_type/ovsdpdk/templates/software/charts/osh/openstack-compute-kit/nova.j2 index 5b19f2b..c732e18 100644 --- a/site_type/ovsdpdk/templates/software/charts/osh/openstack-compute-kit/nova.j2 +++ b/site_type/ovsdpdk/templates/software/charts/osh/openstack-compute-kit/nova.j2 @@ -43,7 +43,7 @@ data: libvirt: virt_type: kvm DEFAULT: - vcpu_pin_set: {% if 'platform' in yaml and 'vcpu_pin_set' in yaml.platform %}{{yaml.platform.vcpu_pin_set}} + vcpu_pin_set: {% if 'platform' in yaml and 'vcpu_pin_set' in yaml.platform %}"{{yaml.platform.vcpu_pin_set}}" {% else %}"4-21,26-43,48-65,72-87" {% endif %} vif_plugging_is_fatal: False diff --git a/site_type/sriov/templates/software/charts/kubernetes/container-networking/calico.j2 b/site_type/sriov/templates/software/charts/kubernetes/container-networking/calico.j2 index 07c2bbe..356aa10 100644 --- a/site_type/sriov/templates/software/charts/kubernetes/container-networking/calico.j2 +++ b/site_type/sriov/templates/software/charts/kubernetes/container-networking/calico.j2 @@ -1,3 +1,4 @@ +--- ############################################################################## # Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. # # # diff --git a/site_type/sriov/templates/software/charts/osh/openstack-compute-kit/nova.j2 b/site_type/sriov/templates/software/charts/osh/openstack-compute-kit/nova.j2 index 5b19f2b..c732e18 100644 --- a/site_type/sriov/templates/software/charts/osh/openstack-compute-kit/nova.j2 +++ b/site_type/sriov/templates/software/charts/osh/openstack-compute-kit/nova.j2 @@ -43,7 +43,7 @@ data: libvirt: virt_type: kvm DEFAULT: - vcpu_pin_set: {% if 'platform' in yaml and 'vcpu_pin_set' in yaml.platform %}{{yaml.platform.vcpu_pin_set}} + vcpu_pin_set: {% if 'platform' in yaml and 'vcpu_pin_set' in yaml.platform %}"{{yaml.platform.vcpu_pin_set}}" {% else %}"4-21,26-43,48-65,72-87" {% endif %} vif_plugging_is_fatal: False -- 2.16.6