mike-tutkowski commented on a change in pull request #2298: CLOUDSTACK-9620:
Enhancements for managed storage
URL: https://github.com/apache/cloudstack/pull/2298#discussion_r161302188
##########
File path: core/src/com/cloud/agent/api/MigrateCommand.java
##########
@@ -68,4 +93,79 @@ public String getHostGuid() {
public boolean executeInSequence() {
return executeInSequence;
}
+
+ public static class MigrateDiskInfo {
+ public enum DiskType {
+ FILE, BLOCK;
+
+ @Override
+ public String toString() {
+ switch(this) {
+ case FILE: return "file";
+ case BLOCK: return "block";
+ default: throw new IllegalArgumentException();
+ }
+ }
+ }
+
+ public enum DriverType {
+ QCOW2, RAW;
+
+ @Override
+ public String toString() {
+ switch(this) {
+ case QCOW2: return "qcow2";
+ case RAW: return "raw";
+ default: throw new IllegalArgumentException();
+ }
+ }
+ }
+
+ public enum Source {
+ FILE, DEV;
Review comment:
Same as above
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services