summaryrefslogtreecommitdiffstats
path: root/config-provisioning/src/main/resources/configdefinitions/config.provisioning.flavors.def
diff options
context:
space:
mode:
Diffstat (limited to 'config-provisioning/src/main/resources/configdefinitions/config.provisioning.flavors.def')
-rw-r--r--config-provisioning/src/main/resources/configdefinitions/config.provisioning.flavors.def37
1 files changed, 37 insertions, 0 deletions
diff --git a/config-provisioning/src/main/resources/configdefinitions/config.provisioning.flavors.def b/config-provisioning/src/main/resources/configdefinitions/config.provisioning.flavors.def
new file mode 100644
index 00000000000..c5040c58b74
--- /dev/null
+++ b/config-provisioning/src/main/resources/configdefinitions/config.provisioning.flavors.def
@@ -0,0 +1,37 @@
+# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+# Configuration of the node repository
+namespace=config.provisioning
+
+# A node flavor which (may) be available in this zone.
+# This is to allow configuration per flavor.
+# If a certain flavor has no config it is not necessary to list it here to use it.
+flavor[].name string
+
+# The monthly Total Cost of Ownership (TCO) in USD. Typically calculated as TCO divided by
+# the expected lifetime of the node (usually three years).
+flavor[].cost int default=0
+
+# The type of node: BARE_METAL, VIRTUAL_MACHINE or DOCKER_CONTAINER
+flavor[].environment string default="undefined"
+
+# The minimum number of CPU cores available.
+flavor[].minCpuCores double default=0.0
+
+# The speedup factor per cpu core compared to an historical baseline for a particular cpu generation
+# The vcpu resources available on the node will be minCpuCores * cpuCoreSpeedup
+flavor[].cpuSpeedup double default=1.0
+
+# The minimum amount of main memory available.
+flavor[].minMainMemoryAvailableGb double default=0.0
+
+# The minimum amount of disk available.
+flavor[].minDiskAvailableGb double default=0.0
+
+# Whether the disk is fast (typically SSD) or slow (typically spinning HDD).
+flavor[].fastDisk bool default=true
+
+# Whether the storage is remote (network) or local.
+flavor[].remoteStorage bool default=true
+
+# Expected network interface bandwidth available for this flavor, in Mbit/s.
+flavor[].bandwidth double default=0.0