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()
           
 ContextRequirements getContextRequirements()
           
 Dc getDataCenterServices()
           
static org.apache.log4j.Logger getLogger(Class<?> cls, String type)
           
 com.vmware.vim25.mo.Folder getNetworkFolder(com.vmware.vim25.mo.ServiceInstance instance)
           
 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()
           
 boolean isInsecure()
          Looks up the custom property (ProviderContextCompat.getCustomProperties()) "insecure" and, if set to "true", returns true.
 void release()
           
 String testContext()
           
 
Methods inherited from class org.dasein.cloud.AbstractCloud
getAdminServices, getCIServices, getIdentityServices, getPlatformServices
 
Methods inherited from class org.dasein.cloud.CloudProvider
connect, connect, connect, findUniqueName, getComputeCloud, getContext, getStorageServices, hasAdminServices, hasCIServices, hasComputeServices, hasIdentityServices, hasNetworkServices, hasPlatformServices, hasStorageServices, isConnected, matchesTags
 
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

getContextRequirements

@Nonnull
public ContextRequirements getContextRequirements()
Overrides:
getContextRequirements in class AbstractCloud

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()
Specified by:
getDataCenterServices in class CloudProvider

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

getNetworkFolder

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

isClusterBased

public boolean isClusterBased()
                       throws CloudException
Throws:
CloudException

isInsecure

public boolean isInsecure()
Looks up the custom property (ProviderContextCompat.getCustomProperties()) "insecure" and, if set to "true", returns true. This indicates that SSL validation should not take place, thus leaving the connection open to man-in-the-middle attacks, even if the connection is encrypted.

Returns:
true if SSL certificate validation should be ignored

testContext

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


Copyright © 2014 enStratus Networks Inc. All Rights Reserved.