org.dasein.cloud.aws.network
Class VPCGateway
java.lang.Object
org.dasein.cloud.aws.network.VPCGateway
- All Implemented Interfaces:
- org.dasein.cloud.AccessControlledService, org.dasein.cloud.network.VPNSupport
public class VPCGateway
- extends Object
- implements org.dasein.cloud.network.VPNSupport
| Fields inherited from interface org.dasein.cloud.network.VPNSupport |
ANY, ATTACH, CONNECT_GATEWAY, CREATE_GATEWAY, CREATE_VPN, DETACH, DISCONNECT_GATEWAY, GET_GATEWAY, GET_VPN, LIST_GATEWAY, LIST_VPN, REMOVE_GATEWAY, REMOVE_VPN |
|
Method Summary |
void |
attachToVLAN(String providerVpnId,
String providerVlanId)
|
void |
connectToGateway(String providerVpnId,
String toGatewayId)
|
org.dasein.cloud.network.VPN |
createVPN(String dataCenterId,
String name,
String description,
org.dasein.cloud.network.VPNProtocol protocol)
|
org.dasein.cloud.network.VPNGateway |
createVPNGateway(String endpoint,
String name,
String description,
org.dasein.cloud.network.VPNProtocol protocol,
String bgpAsn)
|
void |
deleteVPN(String providerVpnId)
|
void |
deleteVPNGateway(String gatewayId)
|
void |
detachFromVLAN(String providerVpnId,
String providerVlanId)
|
void |
disconnectFromGateway(String vpnId,
String gatewayId)
|
org.dasein.cloud.network.VPNCapabilities |
getCapabilities()
|
org.dasein.cloud.network.VPNGateway |
getGateway(String gatewayId)
|
org.dasein.cloud.network.VPN |
getVPN(String providerVpnId)
|
org.dasein.cloud.Requirement |
getVPNDataCenterConstraint()
|
boolean |
isSubscribed()
|
Iterable<org.dasein.cloud.network.VPNConnection> |
listGatewayConnections(String toGatewayId)
|
Iterable<org.dasein.cloud.network.VPNGateway> |
listGateways()
|
Iterable<org.dasein.cloud.ResourceStatus> |
listGatewayStatus()
|
Iterable<org.dasein.cloud.network.VPNGateway> |
listGatewaysWithBgpAsn(String bgpAsn)
|
Iterable<org.dasein.cloud.network.VPNProtocol> |
listSupportedVPNProtocols()
|
Iterable<org.dasein.cloud.network.VPNConnection> |
listVPNConnections(String toVpnId)
|
Iterable<org.dasein.cloud.network.VPN> |
listVPNs()
|
Iterable<org.dasein.cloud.ResourceStatus> |
listVPNStatus()
|
String[] |
mapServiceAction(org.dasein.cloud.identity.ServiceAction action)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VPCGateway
public VPCGateway(@Nonnull
AWSCloud provider)
attachToVLAN
public void attachToVLAN(@Nonnull
String providerVpnId,
@Nonnull
String providerVlanId)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
attachToVLAN in interface org.dasein.cloud.network.VPNSupport
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
connectToGateway
public void connectToGateway(@Nonnull
String providerVpnId,
@Nonnull
String toGatewayId)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
connectToGateway in interface org.dasein.cloud.network.VPNSupport
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
createVPN
@Nonnull
public org.dasein.cloud.network.VPN createVPN(@Nullable
String dataCenterId,
@Nonnull
String name,
@Nonnull
String description,
@Nonnull
org.dasein.cloud.network.VPNProtocol protocol)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
createVPN in interface org.dasein.cloud.network.VPNSupport
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
createVPNGateway
@Nonnull
public org.dasein.cloud.network.VPNGateway createVPNGateway(@Nonnull
String endpoint,
@Nonnull
String name,
@Nonnull
String description,
@Nonnull
org.dasein.cloud.network.VPNProtocol protocol,
@Nonnull
String bgpAsn)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
createVPNGateway in interface org.dasein.cloud.network.VPNSupport
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
deleteVPN
public void deleteVPN(@Nonnull
String providerVpnId)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
deleteVPN in interface org.dasein.cloud.network.VPNSupport
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
deleteVPNGateway
public void deleteVPNGateway(@Nonnull
String gatewayId)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
deleteVPNGateway in interface org.dasein.cloud.network.VPNSupport
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
detachFromVLAN
public void detachFromVLAN(@Nonnull
String providerVpnId,
@Nonnull
String providerVlanId)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
detachFromVLAN in interface org.dasein.cloud.network.VPNSupport
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
disconnectFromGateway
public void disconnectFromGateway(@Nonnull
String vpnId,
@Nonnull
String gatewayId)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
disconnectFromGateway in interface org.dasein.cloud.network.VPNSupport
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
getCapabilities
@Nonnull
public org.dasein.cloud.network.VPNCapabilities getCapabilities()
- Specified by:
getCapabilities in interface org.dasein.cloud.network.VPNSupport
getGateway
@Nullable
public org.dasein.cloud.network.VPNGateway getGateway(@Nonnull
String gatewayId)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
getGateway in interface org.dasein.cloud.network.VPNSupport
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
getVPN
@Nullable
public org.dasein.cloud.network.VPN getVPN(@Nonnull
String providerVpnId)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
getVPN in interface org.dasein.cloud.network.VPNSupport
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
getVPNDataCenterConstraint
public org.dasein.cloud.Requirement getVPNDataCenterConstraint()
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
getVPNDataCenterConstraint in interface org.dasein.cloud.network.VPNSupport
- 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.VPNSupport
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
listGatewayConnections
@Nonnull
public Iterable<org.dasein.cloud.network.VPNConnection> listGatewayConnections(@Nonnull
String toGatewayId)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
listGatewayConnections in interface org.dasein.cloud.network.VPNSupport
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
listGatewayStatus
@Nonnull
public Iterable<org.dasein.cloud.ResourceStatus> listGatewayStatus()
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
listGatewayStatus in interface org.dasein.cloud.network.VPNSupport
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
listGateways
@Nonnull
public Iterable<org.dasein.cloud.network.VPNGateway> listGateways()
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
listGateways in interface org.dasein.cloud.network.VPNSupport
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
listGatewaysWithBgpAsn
@Nonnull
public Iterable<org.dasein.cloud.network.VPNGateway> listGatewaysWithBgpAsn(@Nonnull
String bgpAsn)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
listGatewaysWithBgpAsn in interface org.dasein.cloud.network.VPNSupport
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
listVPNConnections
@Nonnull
public Iterable<org.dasein.cloud.network.VPNConnection> listVPNConnections(@Nonnull
String toVpnId)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
listVPNConnections in interface org.dasein.cloud.network.VPNSupport
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
listSupportedVPNProtocols
@Nonnull
public Iterable<org.dasein.cloud.network.VPNProtocol> listSupportedVPNProtocols()
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
listSupportedVPNProtocols in interface org.dasein.cloud.network.VPNSupport
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
listVPNStatus
@Nonnull
public Iterable<org.dasein.cloud.ResourceStatus> listVPNStatus()
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
listVPNStatus in interface org.dasein.cloud.network.VPNSupport
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
listVPNs
@Nonnull
public Iterable<org.dasein.cloud.network.VPN> listVPNs()
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
listVPNs in interface org.dasein.cloud.network.VPNSupport
- 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
Copyright © 2009-2014 Dell, Inc.. All Rights Reserved.