summaryrefslogtreecommitdiffstats
path: root/controller-api
diff options
context:
space:
mode:
authorValerij Fredriksen <valerijf@verizonmedia.com>2019-08-26 17:31:09 +0200
committerValerij Fredriksen <valerijf@verizonmedia.com>2019-08-26 17:31:09 +0200
commitaa828433e58a397ecd9dc7a83a3bfce0036f3a8f (patch)
treed053bc994bac3a10cad1c1484dd7040428264226 /controller-api
parent78133f8c95b11b460aa4fd9ad89bd00bb716c6f8 (diff)
Add bandwidth and fastDisk to NodeRepository node
Diffstat (limited to 'controller-api')
-rw-r--r--controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/noderepository/NodeRepositoryNode.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/noderepository/NodeRepositoryNode.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/noderepository/NodeRepositoryNode.java
index 75d4e2036ab..57c71720962 100644
--- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/noderepository/NodeRepositoryNode.java
+++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/noderepository/NodeRepositoryNode.java
@@ -82,6 +82,10 @@ public class NodeRepositoryNode {
private Integer cost;
@JsonProperty("minCpuCores")
private Double minCpuCores;
+ @JsonProperty("bandwidth")
+ private Double bandwidth;
+ @JsonProperty("fastDisk")
+ private Boolean fastDisk;
@JsonProperty("description")
private String description;
@JsonProperty("history")
@@ -347,6 +351,22 @@ public class NodeRepositoryNode {
this.minCpuCores = minCpuCores;
}
+ public Double getBandwidth() {
+ return bandwidth;
+ }
+
+ public void setBandwidth(Double bandwidth) {
+ this.bandwidth = bandwidth;
+ }
+
+ public Boolean getFastDisk() {
+ return fastDisk;
+ }
+
+ public void setFastDisk(Boolean fastDisk) {
+ this.fastDisk = fastDisk;
+ }
+
public String getDescription() {
return description;
}
@@ -436,6 +456,8 @@ public class NodeRepositoryNode {
", minMainMemoryAvailableGb=" + minMainMemoryAvailableGb +
", cost=" + cost +
", minCpuCores=" + minCpuCores +
+ ", bandwidth=" + bandwidth +
+ ", fastDisk=" + fastDisk +
", description='" + description + '\'' +
", history=" + Arrays.toString(history) +
", allowedToBeDown=" + allowedToBeDown +