org.dasein.cloud.vsphere.network
Class VSphereNetwork

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

public class VSphereNetwork
extends AbstractVLANSupport

User: daniellemayne Date: 11/06/2014 Time: 12:33


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
 String getAttachedInternetGatewayId(String vlanId)
           
 VLANCapabilities getCapabilities()
           
 InternetGateway getInternetGatewayById(String gatewayId)
           
 String getProviderTermForNetworkInterface(Locale locale)
           
 String getProviderTermForSubnet(Locale locale)
           
 String getProviderTermForVlan(Locale locale)
           
 boolean isSubscribed()
           
 Collection<InternetGateway> listInternetGateways(String vlanId)
           
 Iterable<VLAN> listVlans()
           
 void removeInternetGatewayById(String id)
           
 void removeInternetGatewayTags(String internetGatewayId, Tag... tags)
           
 void removeRoutingTableTags(String routingTableId, Tag... tags)
           
 void updateInternetGatewayTags(String internetGatewayId, Tag... tags)
           
 void updateRoutingTableTags(String routingTableId, Tag... tags)
           
 
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, createVlan, detachNetworkInterface, disassociateRoutingTableFromSubnet, getContext, getMaxNetworkInterfaceCount, getMaxVlanCount, getNetworkInterface, getProvider, getRoutingTable, getRoutingTableForSubnet, getRoutingTableForVlan, getRoutingTableSupport, getSubnet, getSubnetSupport, getVlan, identifySubnetDCRequirement, isConnectedViaInternetGateway, isNetworkInterfaceSupportEnabled, isSubnetDataCenterConstrained, isVlanDataCenterConstrained, listFirewallIdsForNIC, listNetworkInterfaces, listNetworkInterfacesForVM, listNetworkInterfacesInSubnet, listNetworkInterfacesInVLAN, listNetworkInterfaceStatus, listResources, listRoutingTables, listRoutingTablesForSubnet, listRoutingTablesForVlan, listSubnets, listSupportedIPVersions, listVlanStatus, mapServiceAction, removeInternetGateway, removeInternetGatewayTags, removeNetworkInterface, removeRoute, removeRoutingTable, removeRoutingTableTags, removeSubnet, removeSubnetTags, removeSubnetTags, removeVlan, removeVLANTags, removeVLANTags, setInternetGatewayTags, setInternetGatewayTags, setRoutingTableTags, setRoutingTableTags, setSubnetTags, setSubnetTags, supportsInternetGatewayCreation, supportsRawAddressRouting, updateInternetGatewayTags, 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

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)

getAttachedInternetGatewayId

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

getInternetGatewayById

@Nullable
public InternetGateway getInternetGatewayById(@Nonnull
                                                       String gatewayId)
                                       throws CloudException,
                                              InternalException
Specified by:
getInternetGatewayById in interface VLANSupport
Overrides:
getInternetGatewayById in class AbstractVLANSupport
Throws:
CloudException
InternalException

isSubscribed

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

listInternetGateways

@Nonnull
public Collection<InternetGateway> listInternetGateways(@Nullable
                                                                String vlanId)
                                                 throws CloudException,
                                                        InternalException
Specified by:
listInternetGateways in interface VLANSupport
Overrides:
listInternetGateways in class AbstractVLANSupport
Throws:
CloudException
InternalException

removeInternetGatewayById

public void removeInternetGatewayById(@Nonnull
                                      String id)
                               throws CloudException,
                                      InternalException
Specified by:
removeInternetGatewayById in interface VLANSupport
Overrides:
removeInternetGatewayById in class AbstractVLANSupport
Throws:
CloudException
InternalException

removeInternetGatewayTags

public void removeInternetGatewayTags(@Nonnull
                                      String internetGatewayId,
                                      @Nonnull
                                      Tag... tags)
                               throws CloudException,
                                      InternalException
Specified by:
removeInternetGatewayTags in interface VLANSupport
Overrides:
removeInternetGatewayTags in class AbstractVLANSupport
Throws:
CloudException
InternalException

removeRoutingTableTags

public void removeRoutingTableTags(@Nonnull
                                   String routingTableId,
                                   @Nonnull
                                   Tag... tags)
                            throws CloudException,
                                   InternalException
Specified by:
removeRoutingTableTags in interface VLANSupport
Overrides:
removeRoutingTableTags in class AbstractVLANSupport
Throws:
CloudException
InternalException

updateRoutingTableTags

public void updateRoutingTableTags(@Nonnull
                                   String routingTableId,
                                   @Nonnull
                                   Tag... tags)
                            throws CloudException,
                                   InternalException
Specified by:
updateRoutingTableTags in interface VLANSupport
Overrides:
updateRoutingTableTags in class AbstractVLANSupport
Throws:
CloudException
InternalException

updateInternetGatewayTags

public void updateInternetGatewayTags(@Nonnull
                                      String internetGatewayId,
                                      @Nonnull
                                      Tag... tags)
                               throws CloudException,
                                      InternalException
Specified by:
updateInternetGatewayTags in interface VLANSupport
Overrides:
updateInternetGatewayTags in class AbstractVLANSupport
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


Copyright © 2015 enStratus Networks Inc. All Rights Reserved.