summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceOpenStack.py
diff options
context:
space:
mode:
authorSilvio Knizek <killermoehre@gmx.net>2020-03-26 22:15:37 +0100
committerGitHub <noreply@github.com>2020-03-26 17:15:37 -0400
commit7f9f33dbb08bacaa49244e857847400ad8a67ad4 (patch)
tree8d7b86d84ffd9a0cc0ce93d468d2b412f06ceda6 /cloudinit/sources/DataSourceOpenStack.py
parent44039629e539ed48298703028ac8f10ad3c60d6e (diff)
downloadvyos-cloud-init-7f9f33dbb08bacaa49244e857847400ad8a67ad4.tar.gz
vyos-cloud-init-7f9f33dbb08bacaa49244e857847400ad8a67ad4.zip
Identify SAP Converged Cloud as OpenStack
add SAP Converged Cloud as cloud provider
Diffstat (limited to 'cloudinit/sources/DataSourceOpenStack.py')
-rw-r--r--cloudinit/sources/DataSourceOpenStack.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceOpenStack.py b/cloudinit/sources/DataSourceOpenStack.py
index 7a5e71b6..bf539091 100644
--- a/cloudinit/sources/DataSourceOpenStack.py
+++ b/cloudinit/sources/DataSourceOpenStack.py
@@ -29,7 +29,10 @@ DMI_PRODUCT_NOVA = 'OpenStack Nova'
DMI_PRODUCT_COMPUTE = 'OpenStack Compute'
VALID_DMI_PRODUCT_NAMES = [DMI_PRODUCT_NOVA, DMI_PRODUCT_COMPUTE]
DMI_ASSET_TAG_OPENTELEKOM = 'OpenTelekomCloud'
-VALID_DMI_ASSET_TAGS = [DMI_ASSET_TAG_OPENTELEKOM]
+# See github.com/sapcc/helm-charts/blob/master/openstack/nova/values.yaml
+# -> compute.defaults.vmware.smbios_asset_tag for this value
+DMI_ASSET_TAG_SAPCCLOUD = 'SAP CCloud VM'
+VALID_DMI_ASSET_TAGS = [DMI_ASSET_TAG_OPENTELEKOM, DMI_ASSET_TAG_SAPCCLOUD]
class DataSourceOpenStack(openstack.SourceMixin, sources.DataSource):