org.dasein.cloud.vsphere
Class PrivateCloud

java.lang.Object
  extended by org.dasein.cloud.CloudProvider
      extended by org.dasein.cloud.AbstractCloud
          extended by org.dasein.cloud.vsphere.PrivateCloud

public class PrivateCloud
extends AbstractCloud


Constructor Summary
PrivateCloud()
           
 
Method Summary
 void close()
           
 String getCloudName()
           
 VMwareComputeServices getComputeServices()
           
 Dc getDataCenterServices()
           
static org.apache.log4j.Logger getLogger(Class<?> cls, String type)
           
 VMwareNetworkServices getNetworkServices()
           
 String getProviderName()
           
 com.vmware.vim25.mo.ServiceInstance getServiceInstance()
           
 com.vmware.vim25.mo.Folder getVmFolder(com.vmware.vim25.mo.ServiceInstance instance)
           
 void hold()
           
 boolean isClusterBased()
           
 void release()
           
 String testContext()
           
 
Methods inherited from class org.dasein.cloud.AbstractCloud
getAdminServices, getIdentityServices, getPlatformServices
 
Methods inherited from class org.dasein.cloud.CloudProvider
connect, connect, getComputeCloud, getContext, getStorageServices, hasComputeServices, hasIdentityServices, hasNetworkServices, hasPlatformServices, hasStorageServices, isConnected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrivateCloud

public PrivateCloud()
Method Detail

getLogger

@Nonnull
public static org.apache.log4j.Logger getLogger(@Nonnull
                                                        Class<?> cls,
                                                        @Nonnull
                                                        String type)

hold

public void hold()
Overrides:
hold in class CloudProvider

release

public void release()
Overrides:
release in class CloudProvider

close

public void close()
Overrides:
close in class CloudProvider

getCloudName

@Nonnull
public String getCloudName()
Specified by:
getCloudName in class CloudProvider

getNetworkServices

@Nonnull
public VMwareNetworkServices getNetworkServices()
Overrides:
getNetworkServices in class AbstractCloud

getProviderName

@Nonnull
public String getProviderName()
Specified by:
getProviderName in class CloudProvider

getComputeServices

@Nonnull
public VMwareComputeServices getComputeServices()
Overrides:
getComputeServices in class AbstractCloud

getDataCenterServices

@Nonnull
public Dc getDataCenterServices()
Overrides:
getDataCenterServices in class AbstractCloud

getServiceInstance

@Nullable
public com.vmware.vim25.mo.ServiceInstance getServiceInstance()
                                                       throws CloudException,
                                                              InternalException
Throws:
CloudException
InternalException

getVmFolder

@Nullable
public com.vmware.vim25.mo.Folder getVmFolder(com.vmware.vim25.mo.ServiceInstance instance)
                                       throws InternalException,
                                              CloudException
Throws:
InternalException
CloudException

isClusterBased

public boolean isClusterBased()
                       throws CloudException
Throws:
CloudException

testContext

@Nullable
public String testContext()
Overrides:
testContext in class CloudProvider


Copyright © 2012 enStratus Networks Inc. All Rights Reserved.