Adapt Cluster schema

Add remove boolean to subClusterConfig in MetricList.
Fix Linter errors.
This commit is contained in:
2023-03-21 11:51:11 +01:00
parent 747f6d4e2d
commit 5d526e1168
6 changed files with 1150 additions and 326 deletions

View File

@@ -50,7 +50,6 @@ type SubCluster {
flopRateSimd: MetricValue!
memoryBandwidth: MetricValue!
topology: Topology!
metricConfig: [MetricConfig!]!
}
type MetricValue {
@@ -75,23 +74,24 @@ type Accelerator {
type SubClusterConfig {
name: String!
peak: Float!
normal: Float!
caution: Float!
alert: Float!
peak: Float
normal: Float
caution: Float
alert: Float
remove: Boolean
}
type MetricConfig {
name: String!
unit: Unit
unit: Unit!
scope: MetricScope!
aggregation: String
aggregation: String!
timestep: Int!
peak: Float!
normal: Float!
normal: Float
caution: Float!
alert: Float!
subClusters: [SubClusterConfig]
subClusters: [SubClusterConfig!]!
}
type Tag {