org.dasein.cloud.aws.network
Class VPCGateway

java.lang.Object
  extended by 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


Field Summary
 
Fields inherited from interface org.dasein.cloud.network.VPNSupport
ANY, ATTACH, CREATE_GATEWAY, CREATE_VPN, DETACH, GET_GATEWAY, GET_VPN, LIST_GATEWAY, LIST_VPN, REMOVE_GATEWAY, REMOVE_VPN
 
Constructor Summary
VPCGateway()
           
 
Method Summary
 void attachToVLAN(String providerVpnId, String providerVlanId)
           
 void connectToGateway(String providerVpnId, String toGatewayId)
           
 org.dasein.cloud.network.VPN createVPN(String inProviderDataCenterId, 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 providerGatewayI)
           
 void detachFromVLAN(String providerVpnId, String providerVlanId)
           
 void disconnectFromGateway(String providerGatewayId)
           
 org.dasein.cloud.network.VPN getVPN(String providerVpnId)
           
 boolean isSubscribed()
           
 Iterable<org.dasein.cloud.network.VPN> listVPNs()
           
 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
 

Constructor Detail

VPCGateway

public VPCGateway()
Method Detail

attachToVLAN

public void attachToVLAN(String providerVpnId,
                         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(String providerVpnId,
                             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

public org.dasein.cloud.network.VPN createVPN(String inProviderDataCenterId,
                                              String name,
                                              String description,
                                              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

public org.dasein.cloud.network.VPNGateway createVPNGateway(String endpoint,
                                                            String name,
                                                            String description,
                                                            org.dasein.cloud.network.VPNProtocol protocol,
                                                            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(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(String providerGatewayI)
                      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(String providerVpnId,
                           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(String providerGatewayId)
                           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

getVPN

public org.dasein.cloud.network.VPN getVPN(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

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

listVPNs

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 © 2012 enStratus Networks LLC. All Rights Reserved.