org.dasein.cloud.aws.network
Class VPC
java.lang.Object
org.dasein.cloud.network.AbstractVLANSupport
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
| 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 |
void |
addRouteToAddress(String toRoutingTableId,
org.dasein.cloud.network.IPVersion version,
String destinationCidr,
String address)
|
void |
addRouteToGateway(String toRoutingTableId,
org.dasein.cloud.network.IPVersion version,
String destinationCidr,
String gatewayId)
|
void |
addRouteToNetworkInterface(String toRoutingTableId,
org.dasein.cloud.network.IPVersion version,
String destinationCidr,
String nicId)
|
void |
addRouteToVirtualMachine(String toRoutingTableId,
org.dasein.cloud.network.IPVersion version,
String destinationCidr,
String vmId)
|
boolean |
allowsNewNetworkInterfaceCreation()
|
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 forVlanId)
|
org.dasein.cloud.network.NetworkInterface |
createNetworkInterface(org.dasein.cloud.network.NICCreateOptions options)
|
String |
createRoutingTable(String forVlanId,
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)
|
String |
getDefaultVPCIDForRegion(String regionId)
|
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 |
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)
|
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 inVlanId)
|
Iterable<org.dasein.cloud.network.RoutingTable> |
listRoutingTables(String inVlanId)
|
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 forVlanId)
|
void |
removeNetworkInterface(String nicId)
|
void |
removeRoute(String inRoutingTableId,
String destinationCidr)
|
void |
removeRoutingTable(String routingTableId)
|
void |
removeSubnet(String providerSubnetId)
|
void |
removeVlan(String providerVpcId)
|
boolean |
supportsInternetGatewayCreation()
|
boolean |
supportsRawAddressRouting()
|
| Methods inherited from class org.dasein.cloud.network.AbstractVLANSupport |
allowsMultipleTrafficTypesOverSubnet, allowsMultipleTrafficTypesOverVlan, createSubnet, getContext, getProvider, removeVLANTags, removeVLANTags, updateVLANTags, updateVLANTags |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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 forVlanId)
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 forVlanId,
@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 void addRouteToAddress(@Nonnull
String toRoutingTableId,
@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 void addRouteToGateway(@Nonnull
String toRoutingTableId,
@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 void addRouteToNetworkInterface(@Nonnull
String toRoutingTableId,
@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 void addRouteToVirtualMachine(@Nonnull
String toRoutingTableId,
@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
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
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
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 inVlanId)
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
listRoutingTables
@Nonnull
public Iterable<org.dasein.cloud.network.RoutingTable> listRoutingTables(@Nonnull
String inVlanId)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- 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
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(@Nonnull
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
removeInternetGateway
public void removeInternetGateway(@Nonnull
String forVlanId)
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
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
Copyright © 2009-2014 Dell, Inc.. All Rights Reserved.