org.dasein.cloud.vcloud.network
Class HybridVLANSupport
java.lang.Object
org.dasein.cloud.vcloud.network.DefunctVLAN
org.dasein.cloud.vcloud.network.HybridVLANSupport
- All Implemented Interfaces:
- AccessControlledService, VLANSupport
public class HybridVLANSupport
- extends DefunctVLAN
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
| 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 |
| Methods inherited from class org.dasein.cloud.vcloud.network.DefunctVLAN |
addRouteToAddress, addRouteToGateway, addRouteToNetworkInterface, addRouteToVirtualMachine, allowsNewNetworkInterfaceCreation, allowsNewSubnetCreation, assignRoutingTableToSubnet, assignRoutingTableToVlan, attachNetworkInterface, createInternetGateway, createNetworkInterface, createRoutingTable, createSubnet, detachNetworkInterface, getContext, getMaxNetworkInterfaceCount, getNetworkInterface, getProvider, getRoutingTableForSubnet, getRoutingTableForVlan, getRoutingTableSupport, getSubnet, getSubnetSupport, isNetworkInterfaceSupportEnabled, isSubnetDataCenterConstrained, listFirewallIdsForNIC, listNetworkInterfaces, listNetworkInterfacesForVM, listNetworkInterfacesInSubnet, listNetworkInterfacesInVLAN, listNetworkInterfaceStatus, listResources, listRoutingTables, listSubnets, mapServiceAction, removeInternetGateway, removeNetworkInterface, removeRoute, removeRoutingTable, removeSubnet, supportsInternetGatewayCreation, supportsRawAddressRouting |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
allowsNewVlanCreation
public boolean allowsNewVlanCreation()
throws CloudException,
InternalException
- Specified by:
allowsNewVlanCreation in interface VLANSupport- Overrides:
allowsNewVlanCreation in class DefunctVLAN
- Throws:
CloudException
InternalException
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 DefunctVLAN
- Throws:
CloudException
InternalException
getMaxVlanCount
public int getMaxVlanCount()
throws CloudException,
InternalException
- Specified by:
getMaxVlanCount in interface VLANSupport- Overrides:
getMaxVlanCount in class DefunctVLAN
- 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 DefunctVLAN
- Throws:
CloudException
InternalException
isSubscribed
public boolean isSubscribed()
throws CloudException,
InternalException
- Throws:
CloudException
InternalException
isVlanDataCenterConstrained
public boolean isVlanDataCenterConstrained()
throws CloudException,
InternalException
- Specified by:
isVlanDataCenterConstrained in interface VLANSupport- Overrides:
isVlanDataCenterConstrained in class DefunctVLAN
- Throws:
CloudException
InternalException
listSupportedIPVersions
@Nonnull
public Iterable<IPVersion> listSupportedIPVersions()
throws CloudException,
InternalException
- Specified by:
listSupportedIPVersions in interface VLANSupport- Overrides:
listSupportedIPVersions in class DefunctVLAN
- Throws:
CloudException
InternalException
listVlanStatus
@Nonnull
public Iterable<ResourceStatus> listVlanStatus()
throws CloudException,
InternalException
- Specified by:
listVlanStatus in interface VLANSupport- Overrides:
listVlanStatus in class DefunctVLAN
- Throws:
CloudException
InternalException
listVlans
@Nonnull
public Iterable<VLAN> listVlans()
throws CloudException,
InternalException
- Specified by:
listVlans in interface VLANSupport- Overrides:
listVlans in class DefunctVLAN
- Throws:
CloudException
InternalException
removeVlan
public void removeVlan(String vlanId)
throws CloudException,
InternalException
- Specified by:
removeVlan in interface VLANSupport- Overrides:
removeVlan in class DefunctVLAN
- Throws:
CloudException
InternalException
setCidr
public void setCidr(@Nonnull
VLAN vlan,
@Nonnull
String netmask,
@Nonnull
String anAddress)
Copyright © 2013 enStratus Networks Inc. All Rights Reserved.