Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 1.4k
Support VDDK VMware VM migrations to CEPH storage#13270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
bd86d7cfb6bcea338c28cd0686374870053File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| // Licensed to the Apache Software Foundation (ASF) under one | ||
| // or more contributor license agreements. See the NOTICE file | ||
| // distributed with this work for additional information | ||
| // regarding copyright ownership. The ASF licenses this file | ||
| // to you under the Apache License, Version 2.0 (the | ||
| // "License"); you may not use this file except in compliance | ||
| // with the License. You may obtain a copy of the License at | ||
| // | ||
| // http://www.apache.org/licenses/LICENSE-2.0 | ||
| // | ||
| // Unless required by applicable law or agreed to in writing, | ||
| // software distributed under the License is distributed on an | ||
| // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| // KIND, either express or implied. See the License for the | ||
| // specific language governing permissions and limitations | ||
| // under the License. | ||
| package com.cloud.agent.api.to; | ||
| import java.io.Serializable; | ||
| public class VmwareVddkSourceDiskTO implements Serializable { | ||
| private String diskId; | ||
| private String sourceDiskPath; | ||
| private long capacityBytes; | ||
| private Integer position; | ||
| public VmwareVddkSourceDiskTO() { | ||
| } | ||
| public VmwareVddkSourceDiskTO(String diskId, String sourceDiskPath, long capacityBytes, Integer position) { | ||
| this.diskId = diskId; | ||
| this.sourceDiskPath = sourceDiskPath; | ||
| this.capacityBytes = capacityBytes; | ||
| this.position = position; | ||
| } | ||
| public String getDiskId() { | ||
| return diskId; | ||
| } | ||
| public String getSourceDiskPath() { | ||
| return sourceDiskPath; | ||
| } | ||
| public long getCapacityBytes() { | ||
| return capacityBytes; | ||
| } | ||
| public Integer getPosition() { | ||
| return position; | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -66,6 +66,7 @@ public enum PowerState { | ||||||
| private String bootType; | ||||||
| private String bootMode; | ||||||
| private String vmwareMoref; | ||||||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
| ||||||
| public String getName() { | ||||||
| return name; | ||||||
| @@ -234,6 +235,14 @@ public void setBootMode(String bootMode) { | ||||||
| this.bootMode = bootMode; | ||||||
| } | ||||||
| public String getVmwareMoref() { | ||||||
| return vmwareMoref; | ||||||
| } | ||||||
| public void setVmwareMoref(String vmwareMoref) { | ||||||
| this.vmwareMoref = vmwareMoref; | ||||||
| } | ||||||
| public static class Disk { | ||||||
| private String diskId; | ||||||
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
snapshot internal ref of VMware as reported by vCenter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public String getVmwareMoref() {
return vmwareMoref;
}
"r" is lowewrcase, don't capitalise it - or do it everywher :) ? Or....? You would know better