Commit fd497934 authored by Spiros Koulouzis's avatar Spiros Koulouzis

added vm type

parent f32344cf
...@@ -343,6 +343,7 @@ public class DeployService { ...@@ -343,6 +343,7 @@ public class DeployService {
b.setStart(ansOut.getAnsibleResult().getStart()); b.setStart(ansOut.getAnsibleResult().getStart());
b.setEnd(ansOut.getAnsibleResult().getEnd()); b.setEnd(ansOut.getAnsibleResult().getEnd());
b.setHost(ansOut.getHost()); b.setHost(ansOut.getHost());
b.setVmType(ansOut.getVmType());
b = (SysbenchCPUBenchmark) benchmarkResultService.save(b); b = (SysbenchCPUBenchmark) benchmarkResultService.save(b);
return b; return b;
......
...@@ -33,6 +33,10 @@ public class BenchmarkResult extends OwnedObject { ...@@ -33,6 +33,10 @@ public class BenchmarkResult extends OwnedObject {
private String host; private String host;
@Indexed @Indexed
private String cloudDeploymentDomain; private String cloudDeploymentDomain;
@Indexed
@JsonProperty("vmType")
private String vmType;
@Indexed @Indexed
@JsonProperty("end") @JsonProperty("end")
...@@ -119,4 +123,18 @@ public class BenchmarkResult extends OwnedObject { ...@@ -119,4 +123,18 @@ public class BenchmarkResult extends OwnedObject {
this.delta = delta; 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