Skip to content

Commit a724274

Browse files
author
Prasanna Santhanam
committed
including a new Simulator hypervisor type
1 parent 1b251a5 commit a724274

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎api/src/com/cloud/hypervisor/Hypervisor.java‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,11 @@ public static HypervisorType getType(String hypervisor) {
5454
return HypervisorType.Parralels;
5555
}else if (hypervisor.equalsIgnoreCase("BareMetal")) {
5656
return HypervisorType.BareMetal;
57+
} else if (hypervisor.equalsIgnoreCase("Simulator")) {
58+
return HypervisorType.Simulator;
5759
} else if (hypervisor.equalsIgnoreCase("Any")) {
5860
return HypervisorType.Any;
59-
} else {
61+
} else {
6062
return HypervisorType.None;
6163
}
6264
}

0 commit comments

Comments
 (0)