diff options
Diffstat (limited to 'site/docs/documentation/Input')
| -rw-r--r-- | site/docs/documentation/Input/Topology.md | 4 | ||||
| -rw-r--r-- | site/docs/documentation/Input/TopologySchema.md | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/site/docs/documentation/Input/Topology.md b/site/docs/documentation/Input/Topology.md index 12e9c485..cf726616 100644 --- a/site/docs/documentation/Input/Topology.md +++ b/site/docs/documentation/Input/Topology.md @@ -21,7 +21,7 @@ In the following section, we describe the different components of the schema. |------------|-----------------------|-----------|---------|--------------------------------------------------------------------------------| | name | string | no | Host | The name of the host. This is only important for debugging and post-processing | | count | integer | no | 1 | The amount of hosts of this type are in the cluster | -| cpu | [CPU](#cpu) | yes | N/A | The CPUs in the host | +| cpuModel | [CPU](#cpuModel) | yes | N/A | The CPUs in the host | | memory | [Memory](#memory) | yes | N/A | The memory used by the host | | power model | [Power Model](#power-model) | yes | N/A | The power model used to determine the power draw of the host | @@ -192,7 +192,7 @@ Aside from using number to indicate values it is also possible to define values [ { "name": "H01", - "cpu": + "cpuModel": { "coreCount": 8, "coreSpeed": "3.2 Ghz" diff --git a/site/docs/documentation/Input/TopologySchema.md b/site/docs/documentation/Input/TopologySchema.md index 9c4e0c40..d0199568 100644 --- a/site/docs/documentation/Input/TopologySchema.md +++ b/site/docs/documentation/Input/TopologySchema.md @@ -5,8 +5,8 @@ A topology file can be validated using a JSON schema validator, such as https:// { "$schema": "OpenDC/Topology", "$defs": { - "cpu": { - "description": "definition of a cpu", + "cpuModel": { + "description": "definition of a cpuModel", "type": "object", "properties": { "vendor": { @@ -25,7 +25,7 @@ A topology file can be validated using a JSON schema validator, such as https:// "type": "integer" }, "coreSpeed": { - "description": "The core speed of the cpu in Mhz", + "description": "The core speed of the cpuModel in Mhz", "type": "number" }, "count": { @@ -106,15 +106,15 @@ A topology file can be validated using a JSON schema validator, such as https:// "type": "integer", "default": 1 }, - "cpu": { - "$ref": "#/$defs/cpu" + "cpuModel": { + "$ref": "#/$defs/cpuModel" }, "memory": { "$ref": "#/$defs/memory" } }, "required": [ - "cpu", + "cpuModel", "memory" ] }, |
