org.dasein.cloud.aws.network
Class ElasticIP

java.lang.Object
  extended by org.dasein.cloud.aws.network.ElasticIP
All Implemented Interfaces:
org.dasein.cloud.AccessControlledService, org.dasein.cloud.network.IpAddressSupport

public class ElasticIP
extends Object
implements org.dasein.cloud.network.IpAddressSupport


Field Summary
 
Fields inherited from interface org.dasein.cloud.network.IpAddressSupport
ANY, ASSIGN, CREATE_IP_ADDRESS, FORWARD, GET_IP_ADDRESS, LIST_IP_ADDRESS, RELEASE, REMOVE_IP_ADDRESS, STOP_FORWARD
 
Method Summary
 void assign(String addressId, String instanceId)
           
 void assignToNetworkInterface(String addressId, String nicId)
           
 String forward(String addressId, int publicPort, org.dasein.cloud.network.Protocol protocol, int privatePort, String serverId)
           
 org.dasein.cloud.network.IPAddressCapabilities getCapabilities()
           
 org.dasein.cloud.network.IpAddress getIpAddress(String addressId)
           
 String getProviderTermForIpAddress(Locale locale)
          Deprecated. 
 org.dasein.cloud.Requirement identifyVlanForVlanIPRequirement()
          Deprecated. 
 boolean isAssignablePostLaunch(org.dasein.cloud.network.IPVersion version)
          Deprecated. 
 boolean isAssigned(org.dasein.cloud.network.AddressType type)
           
 boolean isAssigned(org.dasein.cloud.network.IPVersion version)
          Deprecated. 
 boolean isForwarding()
           
 boolean isForwarding(org.dasein.cloud.network.IPVersion version)
          Deprecated. 
 boolean isRequestable(org.dasein.cloud.network.AddressType type)
           
 boolean isRequestable(org.dasein.cloud.network.IPVersion version)
          Deprecated. 
 boolean isSubscribed()
           
 Iterable<org.dasein.cloud.network.IpAddress> listIpPool(org.dasein.cloud.network.IPVersion version, boolean unassignedOnly)
           
 Iterable<org.dasein.cloud.ResourceStatus> listIpPoolStatus(org.dasein.cloud.network.IPVersion version)
           
 Iterable<org.dasein.cloud.network.IpAddress> listPrivateIpPool(boolean unassignedOnly)
           
 Iterable<org.dasein.cloud.network.IpAddress> listPublicIpPool(boolean unassignedOnly)
           
 Collection<org.dasein.cloud.network.IpForwardingRule> listRules(String addressId)
           
 Iterable<org.dasein.cloud.network.IPVersion> listSupportedIPVersions()
          Deprecated. 
 String[] mapServiceAction(org.dasein.cloud.identity.ServiceAction action)
           
 void releaseFromPool(String addressId)
           
 void releaseFromServer(String addressId)
           
 String request(org.dasein.cloud.network.AddressType betterBePublic)
           
 String request(org.dasein.cloud.network.IPVersion version)
           
 String requestForVLAN(org.dasein.cloud.network.IPVersion forVersion)
           
 String requestForVLAN(org.dasein.cloud.network.IPVersion version, String vlanId)
           
 void stopForward(String ruleId)
           
 boolean supportsVLANAddresses(org.dasein.cloud.network.IPVersion version)
          Deprecated. 
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

assign

public void assign(@Nonnull
                   String addressId,
                   @Nonnull
                   String instanceId)
            throws org.dasein.cloud.InternalException,
                   org.dasein.cloud.CloudException
Specified by:
assign in interface org.dasein.cloud.network.IpAddressSupport
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

assignToNetworkInterface

public void assignToNetworkInterface(@Nonnull
                                     String addressId,
                                     @Nonnull
                                     String nicId)
                              throws org.dasein.cloud.InternalException,
                                     org.dasein.cloud.CloudException
Specified by:
assignToNetworkInterface in interface org.dasein.cloud.network.IpAddressSupport
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

forward

@Nonnull
public String forward(@Nonnull
                              String addressId,
                              int publicPort,
                              @Nonnull
                              org.dasein.cloud.network.Protocol protocol,
                              int privatePort,
                              @Nonnull
                              String serverId)
               throws org.dasein.cloud.InternalException,
                      org.dasein.cloud.CloudException
Specified by:
forward in interface org.dasein.cloud.network.IpAddressSupport
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

getCapabilities

@Nonnull
public org.dasein.cloud.network.IPAddressCapabilities getCapabilities()
                                                               throws org.dasein.cloud.CloudException,
                                                                      org.dasein.cloud.InternalException
Specified by:
getCapabilities in interface org.dasein.cloud.network.IpAddressSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getIpAddress

@Nullable
public org.dasein.cloud.network.IpAddress getIpAddress(@Nonnull
                                                                String addressId)
                                                throws org.dasein.cloud.InternalException,
                                                       org.dasein.cloud.CloudException
Specified by:
getIpAddress in interface org.dasein.cloud.network.IpAddressSupport
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

getProviderTermForIpAddress

@Deprecated
@Nonnull
public String getProviderTermForIpAddress(@Nonnull
                                                             Locale locale)
Deprecated. 

Specified by:
getProviderTermForIpAddress in interface org.dasein.cloud.network.IpAddressSupport

identifyVlanForVlanIPRequirement

@Deprecated
@Nonnull
public org.dasein.cloud.Requirement identifyVlanForVlanIPRequirement()
Deprecated. 

Specified by:
identifyVlanForVlanIPRequirement in interface org.dasein.cloud.network.IpAddressSupport

isAssigned

public boolean isAssigned(@Nonnull
                          org.dasein.cloud.network.AddressType type)
Specified by:
isAssigned in interface org.dasein.cloud.network.IpAddressSupport

isAssigned

@Deprecated
public boolean isAssigned(@Nonnull
                                     org.dasein.cloud.network.IPVersion version)
                   throws org.dasein.cloud.CloudException,
                          org.dasein.cloud.InternalException
Deprecated. 

Specified by:
isAssigned in interface org.dasein.cloud.network.IpAddressSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

isAssignablePostLaunch

@Deprecated
public boolean isAssignablePostLaunch(@Nonnull
                                                 org.dasein.cloud.network.IPVersion version)
                               throws org.dasein.cloud.CloudException,
                                      org.dasein.cloud.InternalException
Deprecated. 

Specified by:
isAssignablePostLaunch in interface org.dasein.cloud.network.IpAddressSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

isForwarding

public boolean isForwarding()
Specified by:
isForwarding in interface org.dasein.cloud.network.IpAddressSupport

isForwarding

@Deprecated
public boolean isForwarding(org.dasein.cloud.network.IPVersion version)
                     throws org.dasein.cloud.CloudException,
                            org.dasein.cloud.InternalException
Deprecated. 

Specified by:
isForwarding in interface org.dasein.cloud.network.IpAddressSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

isRequestable

public boolean isRequestable(@Nonnull
                             org.dasein.cloud.network.AddressType type)
Specified by:
isRequestable in interface org.dasein.cloud.network.IpAddressSupport

isRequestable

@Deprecated
public boolean isRequestable(@Nonnull
                                        org.dasein.cloud.network.IPVersion version)
                      throws org.dasein.cloud.CloudException,
                             org.dasein.cloud.InternalException
Deprecated. 

Specified by:
isRequestable in interface org.dasein.cloud.network.IpAddressSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

isSubscribed

public boolean isSubscribed()
                     throws org.dasein.cloud.CloudException,
                            org.dasein.cloud.InternalException
Specified by:
isSubscribed in interface org.dasein.cloud.network.IpAddressSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

listPrivateIpPool

@Nonnull
public Iterable<org.dasein.cloud.network.IpAddress> listPrivateIpPool(boolean unassignedOnly)
                                                               throws org.dasein.cloud.InternalException,
                                                                      org.dasein.cloud.CloudException
Specified by:
listPrivateIpPool in interface org.dasein.cloud.network.IpAddressSupport
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

listPublicIpPool

@Nonnull
public Iterable<org.dasein.cloud.network.IpAddress> listPublicIpPool(boolean unassignedOnly)
                                                              throws org.dasein.cloud.InternalException,
                                                                     org.dasein.cloud.CloudException
Specified by:
listPublicIpPool in interface org.dasein.cloud.network.IpAddressSupport
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

listIpPool

@Nonnull
public Iterable<org.dasein.cloud.network.IpAddress> listIpPool(@Nonnull
                                                                       org.dasein.cloud.network.IPVersion version,
                                                                       boolean unassignedOnly)
                                                        throws org.dasein.cloud.InternalException,
                                                               org.dasein.cloud.CloudException
Specified by:
listIpPool in interface org.dasein.cloud.network.IpAddressSupport
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

listIpPoolStatus

@Nonnull
public Iterable<org.dasein.cloud.ResourceStatus> listIpPoolStatus(@Nonnull
                                                                          org.dasein.cloud.network.IPVersion version)
                                                           throws org.dasein.cloud.InternalException,
                                                                  org.dasein.cloud.CloudException
Specified by:
listIpPoolStatus in interface org.dasein.cloud.network.IpAddressSupport
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

listRules

@Nonnull
public Collection<org.dasein.cloud.network.IpForwardingRule> listRules(@Nonnull
                                                                               String addressId)
                                                                throws org.dasein.cloud.InternalException,
                                                                       org.dasein.cloud.CloudException
Specified by:
listRules in interface org.dasein.cloud.network.IpAddressSupport
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

listSupportedIPVersions

@Deprecated
@Nonnull
public Iterable<org.dasein.cloud.network.IPVersion> listSupportedIPVersions()
                                                                     throws org.dasein.cloud.CloudException,
                                                                            org.dasein.cloud.InternalException
Deprecated. 

Specified by:
listSupportedIPVersions in interface org.dasein.cloud.network.IpAddressSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

mapServiceAction

@Nonnull
public String[] mapServiceAction(@Nonnull
                                         org.dasein.cloud.identity.ServiceAction action)
Specified by:
mapServiceAction in interface org.dasein.cloud.AccessControlledService

releaseFromServer

public void releaseFromServer(@Nonnull
                              String addressId)
                       throws org.dasein.cloud.InternalException,
                              org.dasein.cloud.CloudException
Specified by:
releaseFromServer in interface org.dasein.cloud.network.IpAddressSupport
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

releaseFromPool

public void releaseFromPool(@Nonnull
                            String addressId)
                     throws org.dasein.cloud.InternalException,
                            org.dasein.cloud.CloudException
Specified by:
releaseFromPool in interface org.dasein.cloud.network.IpAddressSupport
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

request

@Nonnull
public String request(@Nonnull
                              org.dasein.cloud.network.AddressType betterBePublic)
               throws org.dasein.cloud.InternalException,
                      org.dasein.cloud.CloudException
Specified by:
request in interface org.dasein.cloud.network.IpAddressSupport
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

request

@Nonnull
public String request(@Nonnull
                              org.dasein.cloud.network.IPVersion version)
               throws org.dasein.cloud.InternalException,
                      org.dasein.cloud.CloudException
Specified by:
request in interface org.dasein.cloud.network.IpAddressSupport
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

requestForVLAN

@Nonnull
public String requestForVLAN(@Nonnull
                                     org.dasein.cloud.network.IPVersion forVersion)
                      throws org.dasein.cloud.InternalException,
                             org.dasein.cloud.CloudException
Specified by:
requestForVLAN in interface org.dasein.cloud.network.IpAddressSupport
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

requestForVLAN

@Nonnull
public String requestForVLAN(@Nonnull
                                     org.dasein.cloud.network.IPVersion version,
                                     @Nonnull
                                     String vlanId)
                      throws org.dasein.cloud.CloudException,
                             org.dasein.cloud.InternalException
Specified by:
requestForVLAN in interface org.dasein.cloud.network.IpAddressSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

stopForward

public void stopForward(@Nonnull
                        String ruleId)
                 throws org.dasein.cloud.InternalException,
                        org.dasein.cloud.CloudException
Specified by:
stopForward in interface org.dasein.cloud.network.IpAddressSupport
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

supportsVLANAddresses

@Deprecated
public boolean supportsVLANAddresses(@Nonnull
                                                org.dasein.cloud.network.IPVersion version)
                              throws org.dasein.cloud.InternalException,
                                     org.dasein.cloud.CloudException
Deprecated. 

Specified by:
supportsVLANAddresses in interface org.dasein.cloud.network.IpAddressSupport
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException


Copyright © 2009-2014 Dell, Inc.. All Rights Reserved.