CLOUDSTACK-1963 New mapping model for CloudStack zone and Vmware datacenter
Plugin, API & DB changes


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/fba77137
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/fba77137
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/fba77137

Branch: refs/heads/vmware-datamodel
Commit: fba77137fe5d11175dea37e4cdf9d2917a46a525
Parents: 9424d14
Author: Sateesh Chodapuneedi <sate...@apache.org>
Authored: Fri May 3 22:38:57 2013 +0530
Committer: Sateesh Chodapuneedi <sate...@apache.org>
Committed: Sun May 19 08:50:51 2013 +0530

----------------------------------------------------------------------
 .../cloud/hypervisor/vmware/VmwareDatacenter.java  |    4 ++++
 .../hypervisor/vmware/VmwareDatacenterVO.java      |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/fba77137/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/VmwareDatacenter.java
----------------------------------------------------------------------
diff --git 
a/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/VmwareDatacenter.java
 
b/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/VmwareDatacenter.java
index b978cd9..246b477 100644
--- 
a/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/VmwareDatacenter.java
+++ 
b/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/VmwareDatacenter.java
@@ -3,10 +3,14 @@ package com.cloud.hypervisor.vmware;
 import org.apache.cloudstack.api.Identity;
 import org.apache.cloudstack.api.InternalIdentity;
 
+import com.vmware.vim25.ManagedObjectReference;
+
 public interface VmwareDatacenter extends Identity, InternalIdentity {
 
     String getVmwareDatacenterName();
 
+    ManagedObjectReference getVmwareDatacenterMor();
+
     String getGuid();
 
     String getVcenterHost();

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/fba77137/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/VmwareDatacenterVO.java
----------------------------------------------------------------------
diff --git 
a/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/VmwareDatacenterVO.java
 
b/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/VmwareDatacenterVO.java
index 61a531a..9d8fb7d 100644
--- 
a/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/VmwareDatacenterVO.java
+++ 
b/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/VmwareDatacenterVO.java
@@ -140,4 +140,4 @@ public class VmwareDatacenterVO implements VmwareDatacenter 
{
         this.uuid = UUID.randomUUID().toString();
     }
 
-}
\ No newline at end of file
+}

Reply via email to