org.dasein.cloud.aws.network
Class VPC
java.lang.Object
org.dasein.cloud.aws.network.VPC
- All Implemented Interfaces:
- org.dasein.cloud.AccessControlledService, org.dasein.cloud.network.VLANSupport
public class VPC
- extends Object
- implements org.dasein.cloud.network.VLANSupport
| Fields inherited from interface org.dasein.cloud.network.VLANSupport |
ANY, CREATE_SUBNET, CREATE_VLAN, GET_SUBNET, GET_VLAN, LIST_SUBNET, LIST_VLAN, REMOVE_SUBNET, REMOVE_VLAN |
| 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
- 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
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
createSubnet
public org.dasein.cloud.network.Subnet createSubnet(String cidr,
String inProviderVlanId,
String name,
String description)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
createSubnet in interface org.dasein.cloud.network.VLANSupport
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
createVlan
public org.dasein.cloud.network.VLAN createVlan(String cidr,
String name,
String description,
String domainName,
String[] dnsServers,
String[] ntpServers)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
createVlan in interface org.dasein.cloud.network.VLANSupport
- 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
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
getProviderTermForNetworkInterface
public String getProviderTermForNetworkInterface(Locale locale)
- Specified by:
getProviderTermForNetworkInterface in interface org.dasein.cloud.network.VLANSupport
getProviderTermForSubnet
public String getProviderTermForSubnet(Locale locale)
- Specified by:
getProviderTermForSubnet in interface org.dasein.cloud.network.VLANSupport
getProviderTermForVlan
public String getProviderTermForVlan(Locale locale)
- Specified by:
getProviderTermForVlan in interface org.dasein.cloud.network.VLANSupport
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
- 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
- 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.VLANSupport
- 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
- 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
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
listNetworkInterfaces
@Nonnull
public Iterable<org.dasein.cloud.network.NetworkInterface> listNetworkInterfaces(@Nonnull
String providerServerId)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
listNetworkInterfaces in interface org.dasein.cloud.network.VLANSupport
- 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
- 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
- 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
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
- 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
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
supportsVlansWithSubnets
public boolean supportsVlansWithSubnets()
- Specified by:
supportsVlansWithSubnets in interface org.dasein.cloud.network.VLANSupport
Copyright © 2012 enStratus Networks LLC. All Rights Reserved.