Commit fd497934 authored by Spiros Koulouzis's avatar Spiros Koulouzis

added vm type

parent f32344cf
......@@ -343,6 +343,7 @@ public class DeployService {
b.setStart(ansOut.getAnsibleResult().getStart());
b.setEnd(ansOut.getAnsibleResult().getEnd());
b.setHost(ansOut.getHost());
b.setVmType(ansOut.getVmType());
b = (SysbenchCPUBenchmark) benchmarkResultService.save(b);
return b;
......
......@@ -33,6 +33,10 @@ public class BenchmarkResult extends OwnedObject {
private String host;
@Indexed
private String cloudDeploymentDomain;
@Indexed
@JsonProperty("vmType")
private String vmType;
@Indexed
@JsonProperty("end")
......@@ -119,4 +123,18 @@ public class BenchmarkResult extends OwnedObject {
this.delta = delta;
}
/**
* @return the vmType
*/
public String getVmType() {
return vmType;
}
/**
* @param vmType the vmType to set
*/
public void setVmType(String vmType) {
this.vmType = vmType;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment