org.dasein.cloud.vsphere.network
Class StaticIPCapabilities

java.lang.Object
  extended by org.dasein.cloud.AbstractCapabilities<PrivateCloud>
      extended by org.dasein.cloud.vsphere.network.StaticIPCapabilities
All Implemented Interfaces:
Capabilities, IPAddressCapabilities

public class StaticIPCapabilities
extends AbstractCapabilities<PrivateCloud>
implements IPAddressCapabilities

Describes the capabilities of VSphere with respect to Dasein virtual machine operations.

Created by Danielle Mayne: 4/03/14 16:00 PM

Since:
2014.03
Version:
2014.03 initial version
Author:
Danielle Mayne

Field Summary
 
Fields inherited from interface org.dasein.cloud.Capabilities
LIMIT_UNKNOWN, LIMIT_UNLIMITED
 
Constructor Summary
StaticIPCapabilities(PrivateCloud provider)
           
 
Method Summary
 boolean canBeAssigned(VmState vmState)
           
 String getProviderTermForIpAddress(Locale locale)
           
 Requirement identifyVlanForVlanIPRequirement()
           
 boolean isAssignablePostLaunch(IPVersion version)
           
 boolean isAssigned(IPVersion version)
           
 boolean isForwarding(IPVersion version)
           
 boolean isRequestable(IPVersion version)
           
 Iterable<IPVersion> listSupportedIPVersions()
           
 boolean supportsVLANAddresses(IPVersion ofVersion)
           
 
Methods inherited from class org.dasein.cloud.AbstractCapabilities
getAccountNumber, getContext, getProvider, getRegionId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.dasein.cloud.Capabilities
getAccountNumber, getRegionId
 

Constructor Detail

StaticIPCapabilities

public StaticIPCapabilities(@Nonnull
                            PrivateCloud provider)
Method Detail

getProviderTermForIpAddress

@Nonnull
public String getProviderTermForIpAddress(@Nonnull
                                                  Locale locale)
Specified by:
getProviderTermForIpAddress in interface IPAddressCapabilities

identifyVlanForVlanIPRequirement

@Nonnull
public Requirement identifyVlanForVlanIPRequirement()
                                             throws CloudException,
                                                    InternalException
Specified by:
identifyVlanForVlanIPRequirement in interface IPAddressCapabilities
Throws:
CloudException
InternalException

isAssigned

public boolean isAssigned(@Nonnull
                          IPVersion version)
                   throws CloudException,
                          InternalException
Specified by:
isAssigned in interface IPAddressCapabilities
Throws:
CloudException
InternalException

canBeAssigned

public boolean canBeAssigned(@Nonnull
                             VmState vmState)
                      throws CloudException,
                             InternalException
Specified by:
canBeAssigned in interface IPAddressCapabilities
Throws:
CloudException
InternalException

isAssignablePostLaunch

public boolean isAssignablePostLaunch(@Nonnull
                                      IPVersion version)
                               throws CloudException,
                                      InternalException
Specified by:
isAssignablePostLaunch in interface IPAddressCapabilities
Throws:
CloudException
InternalException

isForwarding

public boolean isForwarding(IPVersion version)
                     throws CloudException,
                            InternalException
Specified by:
isForwarding in interface IPAddressCapabilities
Throws:
CloudException
InternalException

isRequestable

public boolean isRequestable(@Nonnull
                             IPVersion version)
                      throws CloudException,
                             InternalException
Specified by:
isRequestable in interface IPAddressCapabilities
Throws:
CloudException
InternalException

listSupportedIPVersions

@Nonnull
public Iterable<IPVersion> listSupportedIPVersions()
                                            throws CloudException,
                                                   InternalException
Specified by:
listSupportedIPVersions in interface IPAddressCapabilities
Throws:
CloudException
InternalException

supportsVLANAddresses

public boolean supportsVLANAddresses(@Nonnull
                                     IPVersion ofVersion)
                              throws InternalException,
                                     CloudException
Specified by:
supportsVLANAddresses in interface IPAddressCapabilities
Throws:
InternalException
CloudException


Copyright © 2014 enStratus Networks Inc. All Rights Reserved.