summaryrefslogtreecommitdiffstats
path: root/node-maintainer/src/main/java/com/yahoo/vespa/hosted/node/verification/spec/report/VerificationReport.java
blob: 66ac99dd0653720e11da729b32b7e730e38f8219 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package com.yahoo.vespa.hosted.node.verification.spec.report;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.yahoo.vespa.hosted.node.verification.spec.retrievers.HardwareInfo;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class VerificationReport {

    @JsonProperty
    private Double actualMemoryAvailable;
    @JsonProperty
    private HardwareInfo.DiskType actualDiskType;
    @JsonProperty
    private Double actualDiskSpaceAvailable;
    @JsonProperty
    private Double actualInterfaceSpeed;
    @JsonProperty
    private Integer actualcpuCores;
    @JsonProperty
    private String[] faultyIpAddresses;
    @JsonProperty
    private Boolean actualIpv6Connection;

    public void setActualIpv6Connection(boolean actualIpv6Connection) {
        this.actualIpv6Connection = actualIpv6Connection;
    }

    public void setActualMemoryAvailable(Double actualMemoryAvailable) {
        this.actualMemoryAvailable = actualMemoryAvailable;
    }

    public void setActualDiskType(HardwareInfo.DiskType actualFastDisk) {
        this.actualDiskType = actualFastDisk;
    }

    public void setActualDiskSpaceAvailable(Double actualDiskSpaceAvailable) {
        this.actualDiskSpaceAvailable = actualDiskSpaceAvailable;
    }

    public void setActualcpuCores(int actualcpuCores) {
        this.actualcpuCores = actualcpuCores;
    }

    public void setActualInterfaceSpeed(Double actualInterfaceSpeed) {
        this.actualInterfaceSpeed = actualInterfaceSpeed;
    }

    public void setFaultyIpAddresses(String[] faultyIpAddresses) {
        this.faultyIpAddresses = faultyIpAddresses;
    }
}