org.dasein.cloud.vcloud.network
Class HybridVLANSupport

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

public class HybridVLANSupport
extends AbstractVLANSupport

Implements support for vCloud networking.

Created by George Reese: 9/17/12 10:59 AM

Since:
2013.04
Version:
2013.04 initial version
Author:
George Reese

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
 VLAN createVlan(String cidr, String name, String description, String domainName, String[] dnsServers, String[] ntpServers)
           
 String getAttachedInternetGatewayId(String vlanId)
           
 VLANCapabilities getCapabilities()
           
 InternetGateway getInternetGatewayById(String gatewayId)
           
 String getProviderTermForNetworkInterface(Locale locale)
           
 String getProviderTermForSubnet(Locale locale)
           
 String getProviderTermForVlan(Locale locale)
           
 VLAN getVlan(String vlanId)
           
 boolean isSubscribed()
           
 Collection<InternetGateway> listInternetGateways(String s)
           
 Iterable<VLAN> listVlans()
           
 void removeInternetGatewayById(String s)
           
 void removeVlan(String vlanId)
           
 
Methods inherited from class org.dasein.cloud.network.AbstractVLANSupport
addRouteToAddress, addRouteToGateway, addRouteToNetworkInterface, addRouteToVirtualMachine, allowsMultipleTrafficTypesOverSubnet, allowsMultipleTrafficTypesOverVlan, allowsNewNetworkInterfaceCreation, allowsNewRoutingTableCreation, allowsNewSubnetCreation, allowsNewVlanCreation, assignRoutingTableToSubnet, assignRoutingTableToVlan, attachNetworkInterface, createInternetGateway, createNetworkInterface, createRoutingTable, createSubnet, createSubnet, createVlan, detachNetworkInterface, disassociateRoutingTableFromSubnet, getContext, getMaxNetworkInterfaceCount, getMaxVlanCount, getNetworkInterface, getProvider, getRoutingTable, getRoutingTableForSubnet, getRoutingTableForVlan, getRoutingTableSupport, getSubnet, getSubnetSupport, identifySubnetDCRequirement, isConnectedViaInternetGateway, isNetworkInterfaceSupportEnabled, isSubnetDataCenterConstrained, isVlanDataCenterConstrained, listFirewallIdsForNIC, listNetworkInterfaces, listNetworkInterfacesForVM, listNetworkInterfacesInSubnet, listNetworkInterfacesInVLAN, listNetworkInterfaceStatus, listResources, listRoutingTables, listRoutingTablesForSubnet, listRoutingTablesForVlan, listSubnets, listSupportedIPVersions, listVlanStatus, mapServiceAction, removeInternetGateway, removeInternetGatewayTags, removeInternetGatewayTags, removeNetworkInterface, removeRoute, removeRoutingTable, removeRoutingTableTags, removeRoutingTableTags, removeSubnet, removeSubnetTags, removeSubnetTags, removeVLANTags, removeVLANTags, supportsInternetGatewayCreation, supportsRawAddressRouting, updateInternetGatewayTags, updateInternetGatewayTags, updateRoutingTableTags, updateRoutingTableTags, updateSubnetTags, updateSubnetTags, updateVLANTags, updateVLANTags
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createVlan

@Nonnull
public VLAN createVlan(@Nonnull
                               String cidr,
                               @Nonnull
                               String name,
                               @Nonnull
                               String description,
                               @Nonnull
                               String domainName,
                               @Nonnull
                               String[] dnsServers,
                               @Nonnull
                               String[] ntpServers)
                throws CloudException,
                       InternalException
Specified by:
createVlan in interface VLANSupport
Overrides:
createVlan in class AbstractVLANSupport
Throws:
CloudException
InternalException

getCapabilities

public VLANCapabilities getCapabilities()
                                 throws CloudException,
                                        InternalException
Throws:
CloudException
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)

getVlan

public VLAN getVlan(@Nonnull
                    String vlanId)
             throws CloudException,
                    InternalException
Specified by:
getVlan in interface VLANSupport
Overrides:
getVlan in class AbstractVLANSupport
Throws:
CloudException
InternalException

getAttachedInternetGatewayId

@Nullable
public String getAttachedInternetGatewayId(@Nonnull
                                                    String vlanId)
                                    throws CloudException,
                                           InternalException
Throws:
CloudException
InternalException

getInternetGatewayById

@Nullable
public InternetGateway getInternetGatewayById(@Nonnull
                                                       String gatewayId)
                                       throws CloudException,
                                              InternalException
Throws:
CloudException
InternalException

isSubscribed

public boolean isSubscribed()
                     throws CloudException,
                            InternalException
Throws:
CloudException
InternalException

listInternetGateways

@Nonnull
public Collection<InternetGateway> listInternetGateways(@Nullable
                                                                String s)
                                                 throws CloudException,
                                                        InternalException
Throws:
CloudException
InternalException

listVlans

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

removeInternetGatewayById

public void removeInternetGatewayById(@Nonnull
                                      String s)
                               throws CloudException,
                                      InternalException
Throws:
CloudException
InternalException

removeVlan

public void removeVlan(String vlanId)
                throws CloudException,
                       InternalException
Specified by:
removeVlan in interface VLANSupport
Overrides:
removeVlan in class AbstractVLANSupport
Throws:
CloudException
InternalException


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