org.dasein.cloud.aws.network
Class VPC

java.lang.Object
  extended by org.dasein.cloud.network.AbstractVLANSupport
      extended by org.dasein.cloud.aws.network.VPC
All Implemented Interfaces:
org.dasein.cloud.AccessControlledService, org.dasein.cloud.network.VLANSupport

public class VPC
extends org.dasein.cloud.network.AbstractVLANSupport


Field Summary
 
Fields inherited from interface org.dasein.cloud.network.VLANSupport
ADD_ROUTE, ANY, ASSIGN_ROUTE_TO_SUBNET, ASSIGN_ROUTE_TO_VLAN, ATTACH_INTERNET_GATEWAY, ATTACH_NIC, CREATE_INTERNET_GATEWAY, CREATE_NIC, CREATE_ROUTING_TABLE, CREATE_SUBNET, CREATE_VLAN, DETACH_NIC, GET_NIC, GET_ROUTING_TABLE, GET_SUBNET, GET_VLAN, LIST_NIC, LIST_ROUTING_TABLE, LIST_SUBNET, LIST_VLAN, REMOVE_INTERNET_GATEWAY, REMOVE_NIC, REMOVE_ROUTE, REMOVE_ROUTING_TABLE, REMOVE_SUBNET, REMOVE_VLAN
 
Method Summary
 org.dasein.cloud.network.Route addRouteToAddress(String routingTableId, org.dasein.cloud.network.IPVersion version, String destinationCidr, String address)
           
 org.dasein.cloud.network.Route addRouteToGateway(String routingTableId, org.dasein.cloud.network.IPVersion version, String destinationCidr, String gatewayId)
           
 org.dasein.cloud.network.Route addRouteToNetworkInterface(String routingTableId, org.dasein.cloud.network.IPVersion version, String destinationCidr, String nicId)
           
 org.dasein.cloud.network.Route addRouteToVirtualMachine(String routingTableId, org.dasein.cloud.network.IPVersion version, String destinationCidr, String vmId)
           
 boolean allowsNewNetworkInterfaceCreation()
           
 boolean allowsNewRoutingTableCreation()
           
 boolean allowsNewSubnetCreation()
           
 boolean allowsNewVlanCreation()
           
 void assignRoutingTableToSubnet(String subnetId, String routingTableId)
           
 void assignRoutingTableToVlan(String vlanId, String routingTableId)
           
 void attachNetworkInterface(String nicId, String vmId, int index)
           
 String createInternetGateway(String vlanId)
           
 org.dasein.cloud.network.NetworkInterface createNetworkInterface(org.dasein.cloud.network.NICCreateOptions options)
           
 String createRoutingTable(String vlanId, String name, String description)
           
 org.dasein.cloud.network.Subnet createSubnet(org.dasein.cloud.network.SubnetCreateOptions options)
           
 org.dasein.cloud.network.VLAN createVlan(String cidr, String name, String description, String domainName, String[] dnsServers, String[] ntpServers)
          Deprecated. 
 org.dasein.cloud.network.VLAN createVlan(org.dasein.cloud.network.VlanCreateOptions options)
           
 void detachNetworkInterface(String nicId)
           
 void disassociateRoutingTableFromSubnet(String subnetId, String routingTableId)
           
 String getAttachedInternetGatewayId(String vlanId)
           
 org.dasein.cloud.network.VLANCapabilities getCapabilities()
           
 String getDefaultVPCIDForRegion(String regionId)
           
 org.dasein.cloud.network.InternetGateway getInternetGatewayById(String gatewayId)
           
 int getMaxNetworkInterfaceCount()
           
 int getMaxVlanCount()
           
 org.dasein.cloud.network.NetworkInterface getNetworkInterface(String nicId)
           
 String getProviderTermForNetworkInterface(Locale locale)
           
 String getProviderTermForSubnet(Locale locale)
           
 String getProviderTermForVlan(Locale locale)
           
 org.dasein.cloud.network.RoutingTable getRoutingTable(String id)
           
 org.dasein.cloud.network.RoutingTable getRoutingTableForSubnet(String subnetId)
           
 org.dasein.cloud.network.RoutingTable getRoutingTableForVlan(String vlanId)
           
 org.dasein.cloud.Requirement getRoutingTableSupport()
           
 org.dasein.cloud.network.Subnet getSubnet(String providerSubnetId)
           
 org.dasein.cloud.Requirement getSubnetSupport()
           
 org.dasein.cloud.network.VLAN getVlan(String providerVlanId)
           
 org.dasein.cloud.Requirement identifySubnetDCRequirement()
           
 boolean isConnectedViaInternetGateway(String vlanId)
           
 boolean isNetworkInterfaceSupportEnabled()
           
 boolean isSubnetDataCenterConstrained()
           
 boolean isSubscribed()
           
 boolean isVlanDataCenterConstrained()
           
 Collection<String> listFirewallIdsForNIC(String nicId)
           
 Collection<org.dasein.cloud.network.InternetGateway> listInternetGateways(String vlanId)
           
 Iterable<org.dasein.cloud.network.NetworkInterface> listNetworkInterfaces()
           
 Iterable<org.dasein.cloud.network.NetworkInterface> listNetworkInterfacesForVM(String forVmId)
           
 Iterable<org.dasein.cloud.network.NetworkInterface> listNetworkInterfacesInSubnet(String subnetId)
           
 Iterable<org.dasein.cloud.network.NetworkInterface> listNetworkInterfacesInVLAN(String vlanId)
           
 Iterable<org.dasein.cloud.ResourceStatus> listNetworkInterfaceStatus()
           
 Iterable<org.dasein.cloud.network.Networkable> listResources(String vlanId)
           
 Iterable<org.dasein.cloud.network.RoutingTable> listRoutingTables(String vlanId)
          Deprecated. 
 Iterable<org.dasein.cloud.network.RoutingTable> listRoutingTablesForSubnet(String subnetId)
           
 Iterable<org.dasein.cloud.network.RoutingTable> listRoutingTablesForVlan(String vlanId)
           
 Iterable<org.dasein.cloud.network.Subnet> listSubnets(String providerVlanId)
           
 Iterable<org.dasein.cloud.network.IPVersion> listSupportedIPVersions()
           
 Iterable<org.dasein.cloud.network.VLAN> listVlans()
           
 Iterable<org.dasein.cloud.ResourceStatus> listVlanStatus()
           
 String[] mapServiceAction(org.dasein.cloud.identity.ServiceAction action)
           
 void removeInternetGateway(String vlanId)
           
 void removeInternetGatewayById(String id)
           
 void removeNetworkInterface(String nicId)
           
 void removeRoute(String inRoutingTableId, String destinationCidr)
           
 void removeRoutingTable(String routingTableId)
           
 void removeSubnet(String providerSubnetId)
           
 void removeSubnetTags(String[] subnetIds, org.dasein.cloud.Tag... tags)
           
 void removeSubnetTags(String subnetId, org.dasein.cloud.Tag... tags)
           
 void removeVlan(String providerVpcId)
           
 void removeVLANTags(String[] vlanIds, org.dasein.cloud.Tag... tags)
           
 void removeVLANTags(String vlanId, org.dasein.cloud.Tag... tags)
           
 boolean supportsInternetGatewayCreation()
           
 boolean supportsRawAddressRouting()
           
 void updateSubnetTags(String[] subnetIds, org.dasein.cloud.Tag... tags)
           
 void updateSubnetTags(String subnetId, org.dasein.cloud.Tag... tags)
           
 void updateVLANTags(String[] vlanIds, org.dasein.cloud.Tag... tags)
           
 void updateVLANTags(String vlanId, org.dasein.cloud.Tag... tags)
           
 
Methods inherited from class org.dasein.cloud.network.AbstractVLANSupport
allowsMultipleTrafficTypesOverSubnet, allowsMultipleTrafficTypesOverVlan, createSubnet, getContext, getProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

allowsNewSubnetCreation

public boolean allowsNewSubnetCreation()
                                throws org.dasein.cloud.CloudException,
                                       org.dasein.cloud.InternalException
Specified by:
allowsNewSubnetCreation in interface org.dasein.cloud.network.VLANSupport
Overrides:
allowsNewSubnetCreation in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

assignRoutingTableToSubnet

public void assignRoutingTableToSubnet(@Nonnull
                                       String subnetId,
                                       @Nonnull
                                       String routingTableId)
                                throws org.dasein.cloud.CloudException,
                                       org.dasein.cloud.InternalException
Specified by:
assignRoutingTableToSubnet in interface org.dasein.cloud.network.VLANSupport
Overrides:
assignRoutingTableToSubnet in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

disassociateRoutingTableFromSubnet

public void disassociateRoutingTableFromSubnet(@Nonnull
                                               String subnetId,
                                               @Nonnull
                                               String routingTableId)
                                        throws org.dasein.cloud.CloudException,
                                               org.dasein.cloud.InternalException
Specified by:
disassociateRoutingTableFromSubnet in interface org.dasein.cloud.network.VLANSupport
Overrides:
disassociateRoutingTableFromSubnet in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

assignRoutingTableToVlan

public void assignRoutingTableToVlan(@Nonnull
                                     String vlanId,
                                     @Nonnull
                                     String routingTableId)
                              throws org.dasein.cloud.CloudException,
                                     org.dasein.cloud.InternalException
Specified by:
assignRoutingTableToVlan in interface org.dasein.cloud.network.VLANSupport
Overrides:
assignRoutingTableToVlan in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

attachNetworkInterface

public void attachNetworkInterface(@Nonnull
                                   String nicId,
                                   @Nonnull
                                   String vmId,
                                   int index)
                            throws org.dasein.cloud.CloudException,
                                   org.dasein.cloud.InternalException
Specified by:
attachNetworkInterface in interface org.dasein.cloud.network.VLANSupport
Overrides:
attachNetworkInterface in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

createInternetGateway

public String createInternetGateway(@Nonnull
                                    String vlanId)
                             throws org.dasein.cloud.CloudException,
                                    org.dasein.cloud.InternalException
Specified by:
createInternetGateway in interface org.dasein.cloud.network.VLANSupport
Overrides:
createInternetGateway in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

createRoutingTable

@Nonnull
public String createRoutingTable(@Nonnull
                                         String vlanId,
                                         @Nonnull
                                         String name,
                                         @Nonnull
                                         String description)
                          throws org.dasein.cloud.CloudException,
                                 org.dasein.cloud.InternalException
Specified by:
createRoutingTable in interface org.dasein.cloud.network.VLANSupport
Overrides:
createRoutingTable in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

createNetworkInterface

@Nonnull
public org.dasein.cloud.network.NetworkInterface createNetworkInterface(@Nonnull
                                                                                org.dasein.cloud.network.NICCreateOptions options)
                                                                 throws org.dasein.cloud.CloudException,
                                                                        org.dasein.cloud.InternalException
Specified by:
createNetworkInterface in interface org.dasein.cloud.network.VLANSupport
Overrides:
createNetworkInterface in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

addRouteToAddress

public org.dasein.cloud.network.Route addRouteToAddress(@Nonnull
                                                        String routingTableId,
                                                        @Nonnull
                                                        org.dasein.cloud.network.IPVersion version,
                                                        @Nullable
                                                        String destinationCidr,
                                                        @Nonnull
                                                        String address)
                                                 throws org.dasein.cloud.CloudException,
                                                        org.dasein.cloud.InternalException
Specified by:
addRouteToAddress in interface org.dasein.cloud.network.VLANSupport
Overrides:
addRouteToAddress in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

addRouteToGateway

public org.dasein.cloud.network.Route addRouteToGateway(@Nonnull
                                                        String routingTableId,
                                                        @Nonnull
                                                        org.dasein.cloud.network.IPVersion version,
                                                        @Nullable
                                                        String destinationCidr,
                                                        @Nonnull
                                                        String gatewayId)
                                                 throws org.dasein.cloud.CloudException,
                                                        org.dasein.cloud.InternalException
Specified by:
addRouteToGateway in interface org.dasein.cloud.network.VLANSupport
Overrides:
addRouteToGateway in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

addRouteToNetworkInterface

public org.dasein.cloud.network.Route addRouteToNetworkInterface(@Nonnull
                                                                 String routingTableId,
                                                                 @Nonnull
                                                                 org.dasein.cloud.network.IPVersion version,
                                                                 @Nullable
                                                                 String destinationCidr,
                                                                 @Nonnull
                                                                 String nicId)
                                                          throws org.dasein.cloud.CloudException,
                                                                 org.dasein.cloud.InternalException
Specified by:
addRouteToNetworkInterface in interface org.dasein.cloud.network.VLANSupport
Overrides:
addRouteToNetworkInterface in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

addRouteToVirtualMachine

public org.dasein.cloud.network.Route addRouteToVirtualMachine(@Nonnull
                                                               String routingTableId,
                                                               @Nonnull
                                                               org.dasein.cloud.network.IPVersion version,
                                                               @Nullable
                                                               String destinationCidr,
                                                               @Nonnull
                                                               String vmId)
                                                        throws org.dasein.cloud.CloudException,
                                                               org.dasein.cloud.InternalException
Specified by:
addRouteToVirtualMachine in interface org.dasein.cloud.network.VLANSupport
Overrides:
addRouteToVirtualMachine in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

allowsNewNetworkInterfaceCreation

public boolean allowsNewNetworkInterfaceCreation()
                                          throws org.dasein.cloud.CloudException,
                                                 org.dasein.cloud.InternalException
Specified by:
allowsNewNetworkInterfaceCreation in interface org.dasein.cloud.network.VLANSupport
Overrides:
allowsNewNetworkInterfaceCreation in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

allowsNewVlanCreation

public boolean allowsNewVlanCreation()
                              throws org.dasein.cloud.CloudException,
                                     org.dasein.cloud.InternalException
Specified by:
allowsNewVlanCreation in interface org.dasein.cloud.network.VLANSupport
Overrides:
allowsNewVlanCreation in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

allowsNewRoutingTableCreation

public boolean allowsNewRoutingTableCreation()
                                      throws org.dasein.cloud.CloudException,
                                             org.dasein.cloud.InternalException
Specified by:
allowsNewRoutingTableCreation in interface org.dasein.cloud.network.VLANSupport
Overrides:
allowsNewRoutingTableCreation in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

createSubnet

@Nonnull
public org.dasein.cloud.network.Subnet createSubnet(@Nonnull
                                                            org.dasein.cloud.network.SubnetCreateOptions options)
                                             throws org.dasein.cloud.CloudException,
                                                    org.dasein.cloud.InternalException
Specified by:
createSubnet in interface org.dasein.cloud.network.VLANSupport
Overrides:
createSubnet in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

createVlan

@Deprecated
@Nonnull
public org.dasein.cloud.network.VLAN createVlan(@Nonnull
                                                                   String cidr,
                                                                   @Nonnull
                                                                   String name,
                                                                   @Nonnull
                                                                   String description,
                                                                   @Nullable
                                                                   String domainName,
                                                                   @Nonnull
                                                                   String[] dnsServers,
                                                                   @Nonnull
                                                                   String[] ntpServers)
                                         throws org.dasein.cloud.CloudException,
                                                org.dasein.cloud.InternalException
Deprecated. 

Specified by:
createVlan in interface org.dasein.cloud.network.VLANSupport
Overrides:
createVlan in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

createVlan

@Nonnull
public org.dasein.cloud.network.VLAN createVlan(@Nonnull
                                                        org.dasein.cloud.network.VlanCreateOptions options)
                                         throws org.dasein.cloud.CloudException,
                                                org.dasein.cloud.InternalException
Specified by:
createVlan in interface org.dasein.cloud.network.VLANSupport
Overrides:
createVlan in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

detachNetworkInterface

public void detachNetworkInterface(@Nonnull
                                   String nicId)
                            throws org.dasein.cloud.CloudException,
                                   org.dasein.cloud.InternalException
Specified by:
detachNetworkInterface in interface org.dasein.cloud.network.VLANSupport
Overrides:
detachNetworkInterface in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getCapabilities

public org.dasein.cloud.network.VLANCapabilities getCapabilities()

getMaxNetworkInterfaceCount

public int getMaxNetworkInterfaceCount()
                                throws org.dasein.cloud.CloudException,
                                       org.dasein.cloud.InternalException
Specified by:
getMaxNetworkInterfaceCount in interface org.dasein.cloud.network.VLANSupport
Overrides:
getMaxNetworkInterfaceCount in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getMaxVlanCount

public int getMaxVlanCount()
                    throws org.dasein.cloud.CloudException,
                           org.dasein.cloud.InternalException
Specified by:
getMaxVlanCount in interface org.dasein.cloud.network.VLANSupport
Overrides:
getMaxVlanCount in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getProviderTermForNetworkInterface

@Nonnull
public String getProviderTermForNetworkInterface(@Nonnull
                                                         Locale locale)

getProviderTermForSubnet

@Nonnull
public String getProviderTermForSubnet(@Nonnull
                                               Locale locale)

getProviderTermForVlan

@Nonnull
public String getProviderTermForVlan(@Nonnull
                                             Locale locale)

getNetworkInterface

public org.dasein.cloud.network.NetworkInterface getNetworkInterface(@Nonnull
                                                                     String nicId)
                                                              throws org.dasein.cloud.CloudException,
                                                                     org.dasein.cloud.InternalException
Specified by:
getNetworkInterface in interface org.dasein.cloud.network.VLANSupport
Overrides:
getNetworkInterface in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getRoutingTableForSubnet

public org.dasein.cloud.network.RoutingTable getRoutingTableForSubnet(@Nonnull
                                                                      String subnetId)
                                                               throws org.dasein.cloud.CloudException,
                                                                      org.dasein.cloud.InternalException
Specified by:
getRoutingTableForSubnet in interface org.dasein.cloud.network.VLANSupport
Overrides:
getRoutingTableForSubnet in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getRoutingTableSupport

@Nonnull
public org.dasein.cloud.Requirement getRoutingTableSupport()
                                                    throws org.dasein.cloud.CloudException,
                                                           org.dasein.cloud.InternalException
Specified by:
getRoutingTableSupport in interface org.dasein.cloud.network.VLANSupport
Overrides:
getRoutingTableSupport in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getRoutingTableForVlan

public org.dasein.cloud.network.RoutingTable getRoutingTableForVlan(@Nonnull
                                                                    String vlanId)
                                                             throws org.dasein.cloud.CloudException,
                                                                    org.dasein.cloud.InternalException
Specified by:
getRoutingTableForVlan in interface org.dasein.cloud.network.VLANSupport
Overrides:
getRoutingTableForVlan in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getRoutingTable

public org.dasein.cloud.network.RoutingTable getRoutingTable(@Nonnull
                                                             String id)
                                                      throws org.dasein.cloud.CloudException,
                                                             org.dasein.cloud.InternalException
Specified by:
getRoutingTable in interface org.dasein.cloud.network.VLANSupport
Overrides:
getRoutingTable in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getSubnet

@Nullable
public org.dasein.cloud.network.Subnet getSubnet(@Nonnull
                                                          String providerSubnetId)
                                          throws org.dasein.cloud.CloudException,
                                                 org.dasein.cloud.InternalException
Specified by:
getSubnet in interface org.dasein.cloud.network.VLANSupport
Overrides:
getSubnet in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getSubnetSupport

@Nonnull
public org.dasein.cloud.Requirement getSubnetSupport()
                                              throws org.dasein.cloud.CloudException,
                                                     org.dasein.cloud.InternalException
Specified by:
getSubnetSupport in interface org.dasein.cloud.network.VLANSupport
Overrides:
getSubnetSupport in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getVlan

@Nullable
public org.dasein.cloud.network.VLAN getVlan(@Nonnull
                                                      String providerVlanId)
                                      throws org.dasein.cloud.CloudException,
                                             org.dasein.cloud.InternalException
Specified by:
getVlan in interface org.dasein.cloud.network.VLANSupport
Overrides:
getVlan in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

identifySubnetDCRequirement

@Nonnull
public org.dasein.cloud.Requirement identifySubnetDCRequirement()
Specified by:
identifySubnetDCRequirement in interface org.dasein.cloud.network.VLANSupport
Overrides:
identifySubnetDCRequirement in class org.dasein.cloud.network.AbstractVLANSupport

isConnectedViaInternetGateway

public boolean isConnectedViaInternetGateway(@Nonnull
                                             String vlanId)
                                      throws org.dasein.cloud.CloudException,
                                             org.dasein.cloud.InternalException
Specified by:
isConnectedViaInternetGateway in interface org.dasein.cloud.network.VLANSupport
Overrides:
isConnectedViaInternetGateway in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

isNetworkInterfaceSupportEnabled

public boolean isNetworkInterfaceSupportEnabled()
                                         throws org.dasein.cloud.CloudException,
                                                org.dasein.cloud.InternalException
Specified by:
isNetworkInterfaceSupportEnabled in interface org.dasein.cloud.network.VLANSupport
Overrides:
isNetworkInterfaceSupportEnabled in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

isSubscribed

public boolean isSubscribed()
                     throws org.dasein.cloud.CloudException,
                            org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

isVlanDataCenterConstrained

public boolean isVlanDataCenterConstrained()
                                    throws org.dasein.cloud.CloudException,
                                           org.dasein.cloud.InternalException
Specified by:
isVlanDataCenterConstrained in interface org.dasein.cloud.network.VLANSupport
Overrides:
isVlanDataCenterConstrained in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

listFirewallIdsForNIC

@Nonnull
public Collection<String> listFirewallIdsForNIC(@Nonnull
                                                        String nicId)
                                         throws org.dasein.cloud.CloudException,
                                                org.dasein.cloud.InternalException
Specified by:
listFirewallIdsForNIC in interface org.dasein.cloud.network.VLANSupport
Overrides:
listFirewallIdsForNIC in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

listNetworkInterfaceStatus

@Nonnull
public Iterable<org.dasein.cloud.ResourceStatus> listNetworkInterfaceStatus()
                                                                     throws org.dasein.cloud.CloudException,
                                                                            org.dasein.cloud.InternalException
Specified by:
listNetworkInterfaceStatus in interface org.dasein.cloud.network.VLANSupport
Overrides:
listNetworkInterfaceStatus in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

listNetworkInterfaces

@Nonnull
public Iterable<org.dasein.cloud.network.NetworkInterface> listNetworkInterfaces()
                                                                          throws org.dasein.cloud.CloudException,
                                                                                 org.dasein.cloud.InternalException
Specified by:
listNetworkInterfaces in interface org.dasein.cloud.network.VLANSupport
Overrides:
listNetworkInterfaces in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

listNetworkInterfacesForVM

@Nonnull
public Iterable<org.dasein.cloud.network.NetworkInterface> listNetworkInterfacesForVM(@Nonnull
                                                                                              String forVmId)
                                                                               throws org.dasein.cloud.CloudException,
                                                                                      org.dasein.cloud.InternalException
Specified by:
listNetworkInterfacesForVM in interface org.dasein.cloud.network.VLANSupport
Overrides:
listNetworkInterfacesForVM in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

listNetworkInterfacesInSubnet

@Nonnull
public Iterable<org.dasein.cloud.network.NetworkInterface> listNetworkInterfacesInSubnet(@Nonnull
                                                                                                 String subnetId)
                                                                                  throws org.dasein.cloud.CloudException,
                                                                                         org.dasein.cloud.InternalException
Specified by:
listNetworkInterfacesInSubnet in interface org.dasein.cloud.network.VLANSupport
Overrides:
listNetworkInterfacesInSubnet in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

listNetworkInterfacesInVLAN

@Nonnull
public Iterable<org.dasein.cloud.network.NetworkInterface> listNetworkInterfacesInVLAN(@Nonnull
                                                                                               String vlanId)
                                                                                throws org.dasein.cloud.CloudException,
                                                                                       org.dasein.cloud.InternalException
Specified by:
listNetworkInterfacesInVLAN in interface org.dasein.cloud.network.VLANSupport
Overrides:
listNetworkInterfacesInVLAN in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

listResources

@Nonnull
public Iterable<org.dasein.cloud.network.Networkable> listResources(@Nonnull
                                                                            String vlanId)
                                                             throws org.dasein.cloud.CloudException,
                                                                    org.dasein.cloud.InternalException
Specified by:
listResources in interface org.dasein.cloud.network.VLANSupport
Overrides:
listResources in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

listRoutingTablesForSubnet

@Nonnull
public Iterable<org.dasein.cloud.network.RoutingTable> listRoutingTablesForSubnet(@Nonnull
                                                                                          String subnetId)
                                                                           throws org.dasein.cloud.CloudException,
                                                                                  org.dasein.cloud.InternalException
Specified by:
listRoutingTablesForSubnet in interface org.dasein.cloud.network.VLANSupport
Overrides:
listRoutingTablesForSubnet in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

listRoutingTables

@Deprecated
@Nonnull
public Iterable<org.dasein.cloud.network.RoutingTable> listRoutingTables(@Nonnull
                                                                                            String vlanId)
                                                                  throws org.dasein.cloud.CloudException,
                                                                         org.dasein.cloud.InternalException
Deprecated. 

Specified by:
listRoutingTables in interface org.dasein.cloud.network.VLANSupport
Overrides:
listRoutingTables in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

listRoutingTablesForVlan

@Nonnull
public Iterable<org.dasein.cloud.network.RoutingTable> listRoutingTablesForVlan(@Nullable
                                                                                        String vlanId)
                                                                         throws org.dasein.cloud.CloudException,
                                                                                org.dasein.cloud.InternalException
Specified by:
listRoutingTablesForVlan in interface org.dasein.cloud.network.VLANSupport
Overrides:
listRoutingTablesForVlan in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

isSubnetDataCenterConstrained

public boolean isSubnetDataCenterConstrained()
                                      throws org.dasein.cloud.CloudException,
                                             org.dasein.cloud.InternalException
Specified by:
isSubnetDataCenterConstrained in interface org.dasein.cloud.network.VLANSupport
Overrides:
isSubnetDataCenterConstrained in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

listSubnets

@Nonnull
public Iterable<org.dasein.cloud.network.Subnet> listSubnets(@Nullable
                                                                     String providerVlanId)
                                                      throws org.dasein.cloud.CloudException,
                                                             org.dasein.cloud.InternalException
Specified by:
listSubnets in interface org.dasein.cloud.network.VLANSupport
Overrides:
listSubnets in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

listSupportedIPVersions

@Nonnull
public Iterable<org.dasein.cloud.network.IPVersion> listSupportedIPVersions()
                                                                     throws org.dasein.cloud.CloudException,
                                                                            org.dasein.cloud.InternalException
Specified by:
listSupportedIPVersions in interface org.dasein.cloud.network.VLANSupport
Overrides:
listSupportedIPVersions in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

listVlanStatus

@Nonnull
public Iterable<org.dasein.cloud.ResourceStatus> listVlanStatus()
                                                         throws org.dasein.cloud.CloudException,
                                                                org.dasein.cloud.InternalException
Specified by:
listVlanStatus in interface org.dasein.cloud.network.VLANSupport
Overrides:
listVlanStatus in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

listVlans

@Nonnull
public Iterable<org.dasein.cloud.network.VLAN> listVlans()
                                                  throws org.dasein.cloud.CloudException,
                                                         org.dasein.cloud.InternalException
Specified by:
listVlans in interface org.dasein.cloud.network.VLANSupport
Overrides:
listVlans in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getAttachedInternetGatewayId

@Nullable
public String getAttachedInternetGatewayId(@Nonnull
                                                    String vlanId)
                                    throws org.dasein.cloud.CloudException,
                                           org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getInternetGatewayById

@Nullable
public org.dasein.cloud.network.InternetGateway getInternetGatewayById(@Nonnull
                                                                                String gatewayId)
                                                                throws org.dasein.cloud.CloudException,
                                                                       org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

listInternetGateways

@Nonnull
public Collection<org.dasein.cloud.network.InternetGateway> listInternetGateways(@Nullable
                                                                                         String vlanId)
                                                                          throws org.dasein.cloud.CloudException,
                                                                                 org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

removeInternetGateway

public void removeInternetGateway(@Nonnull
                                  String vlanId)
                           throws org.dasein.cloud.CloudException,
                                  org.dasein.cloud.InternalException
Specified by:
removeInternetGateway in interface org.dasein.cloud.network.VLANSupport
Overrides:
removeInternetGateway in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

removeInternetGatewayById

public void removeInternetGatewayById(@Nonnull
                                      String id)
                               throws org.dasein.cloud.CloudException,
                                      org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

removeNetworkInterface

public void removeNetworkInterface(@Nonnull
                                   String nicId)
                            throws org.dasein.cloud.CloudException,
                                   org.dasein.cloud.InternalException
Specified by:
removeNetworkInterface in interface org.dasein.cloud.network.VLANSupport
Overrides:
removeNetworkInterface in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

removeRoute

public void removeRoute(@Nonnull
                        String inRoutingTableId,
                        @Nonnull
                        String destinationCidr)
                 throws org.dasein.cloud.CloudException,
                        org.dasein.cloud.InternalException
Specified by:
removeRoute in interface org.dasein.cloud.network.VLANSupport
Overrides:
removeRoute in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

removeRoutingTable

public void removeRoutingTable(@Nonnull
                               String routingTableId)
                        throws org.dasein.cloud.CloudException,
                               org.dasein.cloud.InternalException
Specified by:
removeRoutingTable in interface org.dasein.cloud.network.VLANSupport
Overrides:
removeRoutingTable in class org.dasein.cloud.network.AbstractVLANSupport
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
Overrides:
mapServiceAction in class org.dasein.cloud.network.AbstractVLANSupport

removeSubnet

public void removeSubnet(String providerSubnetId)
                  throws org.dasein.cloud.CloudException,
                         org.dasein.cloud.InternalException
Specified by:
removeSubnet in interface org.dasein.cloud.network.VLANSupport
Overrides:
removeSubnet in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

removeVlan

public void removeVlan(String providerVpcId)
                throws org.dasein.cloud.CloudException,
                       org.dasein.cloud.InternalException
Specified by:
removeVlan in interface org.dasein.cloud.network.VLANSupport
Overrides:
removeVlan in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

supportsInternetGatewayCreation

public boolean supportsInternetGatewayCreation()
                                        throws org.dasein.cloud.CloudException,
                                               org.dasein.cloud.InternalException
Specified by:
supportsInternetGatewayCreation in interface org.dasein.cloud.network.VLANSupport
Overrides:
supportsInternetGatewayCreation in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

supportsRawAddressRouting

public boolean supportsRawAddressRouting()
                                  throws org.dasein.cloud.CloudException,
                                         org.dasein.cloud.InternalException
Specified by:
supportsRawAddressRouting in interface org.dasein.cloud.network.VLANSupport
Overrides:
supportsRawAddressRouting in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getDefaultVPCIDForRegion

public String getDefaultVPCIDForRegion(String regionId)
                                throws org.dasein.cloud.CloudException,
                                       org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

updateSubnetTags

public void updateSubnetTags(@Nonnull
                             String subnetId,
                             @Nonnull
                             org.dasein.cloud.Tag... tags)
                      throws org.dasein.cloud.CloudException,
                             org.dasein.cloud.InternalException
Specified by:
updateSubnetTags in interface org.dasein.cloud.network.VLANSupport
Overrides:
updateSubnetTags in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

updateSubnetTags

public void updateSubnetTags(@Nonnull
                             String[] subnetIds,
                             @Nonnull
                             org.dasein.cloud.Tag... tags)
                      throws org.dasein.cloud.CloudException,
                             org.dasein.cloud.InternalException
Specified by:
updateSubnetTags in interface org.dasein.cloud.network.VLANSupport
Overrides:
updateSubnetTags in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

updateVLANTags

public void updateVLANTags(@Nonnull
                           String vlanId,
                           @Nonnull
                           org.dasein.cloud.Tag... tags)
                    throws org.dasein.cloud.CloudException,
                           org.dasein.cloud.InternalException
Specified by:
updateVLANTags in interface org.dasein.cloud.network.VLANSupport
Overrides:
updateVLANTags in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

updateVLANTags

public void updateVLANTags(@Nonnull
                           String[] vlanIds,
                           @Nonnull
                           org.dasein.cloud.Tag... tags)
                    throws org.dasein.cloud.CloudException,
                           org.dasein.cloud.InternalException
Specified by:
updateVLANTags in interface org.dasein.cloud.network.VLANSupport
Overrides:
updateVLANTags in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

removeSubnetTags

public void removeSubnetTags(@Nonnull
                             String subnetId,
                             @Nonnull
                             org.dasein.cloud.Tag... tags)
                      throws org.dasein.cloud.CloudException,
                             org.dasein.cloud.InternalException
Specified by:
removeSubnetTags in interface org.dasein.cloud.network.VLANSupport
Overrides:
removeSubnetTags in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

removeSubnetTags

public void removeSubnetTags(@Nonnull
                             String[] subnetIds,
                             @Nonnull
                             org.dasein.cloud.Tag... tags)
                      throws org.dasein.cloud.CloudException,
                             org.dasein.cloud.InternalException
Specified by:
removeSubnetTags in interface org.dasein.cloud.network.VLANSupport
Overrides:
removeSubnetTags in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

removeVLANTags

public void removeVLANTags(@Nonnull
                           String vlanId,
                           @Nonnull
                           org.dasein.cloud.Tag... tags)
                    throws org.dasein.cloud.CloudException,
                           org.dasein.cloud.InternalException
Specified by:
removeVLANTags in interface org.dasein.cloud.network.VLANSupport
Overrides:
removeVLANTags in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

removeVLANTags

public void removeVLANTags(@Nonnull
                           String[] vlanIds,
                           @Nonnull
                           org.dasein.cloud.Tag... tags)
                    throws org.dasein.cloud.CloudException,
                           org.dasein.cloud.InternalException
Specified by:
removeVLANTags in interface org.dasein.cloud.network.VLANSupport
Overrides:
removeVLANTags in class org.dasein.cloud.network.AbstractVLANSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException


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