mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-11-10 08:57:25 +01:00
Add cluster description json schema.
This commit is contained in:
parent
b980f191f0
commit
deaf49e50d
50
json-schema/cluster.schema.json
Normal file
50
json-schema/cluster.schema.json
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
{
|
||||||
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||||
|
"title": "HPC Cluster description",
|
||||||
|
"description": "Meta data information of a HPC cluster",
|
||||||
|
"type": "object",
|
||||||
|
"properties":{
|
||||||
|
"cluster_id": {
|
||||||
|
"description": "The unique identifier of a cluster",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"processor_type": {
|
||||||
|
"description": "Processor type",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"sockets_per_node": {
|
||||||
|
"description": "Number of sockets per node",
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"cores_per_socket": {
|
||||||
|
"description": "Number of cores per socket",
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"threads_per_core": {
|
||||||
|
"description": "Number of SMT threads per core",
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"flop_rate_scalar": {
|
||||||
|
"description": "Theorethical node peak flop rate for scalar code in GFlops/s",
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"flop_rate_simd": {
|
||||||
|
"description": "Theorethical node peak flop rate for SIMD code in GFlops/s",
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"memory_bandwidth": {
|
||||||
|
"description": "Theorethical node peak memory bandwidth in GB/s",
|
||||||
|
"type": "integer"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required":[
|
||||||
|
"cluster_id",
|
||||||
|
"processor_type",
|
||||||
|
"sockets_per_node",
|
||||||
|
"cores_per_socket",
|
||||||
|
"threads_per_core",
|
||||||
|
"flop_rate_scalar",
|
||||||
|
"flop_rate_simd",
|
||||||
|
"memory_bandwidth"
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user