Class Vlan
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.network.Vlan
-
@ApiType("SoftLayer_Network_Vlan") public class Vlan extends Entity
The SoftLayer_Network_Vlan data type models a single VLAN within SoftLayer's public and private networks. a Virtual LAN is a structure that associates network interfaces on routers, switches, and servers in different locations to act as if they were on the same local network broadcast domain. VLANs are a central part of the SoftLayer network. They can determine how new IP subnets are routed and how individual servers communicate to each other.- See Also:
- SoftLayer_Network_Vlan
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Vlan.Mask
static interface
Vlan.Service
Virtual LANs are an integral part of SoftLayer' s public and private networks.static interface
Vlan.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
The SoftLayer customer account associated with a VLAN.protected Long
accountId
The internal identifier of the SoftLayer customer account that a VLAN is associated with.protected boolean
accountIdSpecified
protected Long
additionalPrimarySubnetCount
A count of a VLAN's additional primary subnets.protected List<Subnet>
additionalPrimarySubnets
A VLAN's additional primary subnets.protected Gateway
attachedNetworkGateway
The gateway this VLAN is inside of.protected Boolean
attachedNetworkGatewayFlag
Whether or not this VLAN is inside a gateway.protected Vlan
attachedNetworkGatewayVlan
The inside VLAN record if this VLAN is inside a network gateway.protected Item
billingItem
The billing item for a network vlan.protected Long
dedicatedFirewallFlag
A flag indicating that a network vlan is on a Hardware Firewall (Dedicated).protected Router
extensionRouter
The extension router that a VLAN is associated with.protected Long
firewallGuestNetworkComponentCount
A count of a firewalled Vlan's network components.protected List<Firewall>
firewallGuestNetworkComponents
A firewalled Vlan's network components.protected Long
firewallInterfaceCount
A count of a firewalled vlan's inbound/outbound interfaces.protected List<Interface>
firewallInterfaces
A firewalled vlan's inbound/outbound interfaces.protected Long
firewallNetworkComponentCount
A count of a firewalled Vlan's network components.protected List<Firewall>
firewallNetworkComponents
A firewalled Vlan's network components.protected Long
firewallRuleCount
A count of the currently running rule set of a firewalled VLAN.protected List<Rule>
firewallRules
The currently running rule set of a firewalled VLAN.protected String
fullyQualifiedName
A human readable, unique identifier for a VLAN.protected boolean
fullyQualifiedNameSpecified
protected Long
guestNetworkComponentCount
A count of the networking components that are connected to a VLAN.protected List<Component>
guestNetworkComponents
The networking components that are connected to a VLAN.protected List<Hardware>
hardware
All of the hardware that exists on a VLAN.protected Long
hardwareCount
A count of all of the hardware that exists on a VLAN.protected Boolean
highAvailabilityFirewallFlag
protected Long
id
A VLAN's internal identifier.protected boolean
idSpecified
protected Boolean
localDiskStorageCapabilityFlag
A flag indicating that a vlan can be assigned to a host that has local disk functionality.protected GregorianCalendar
modifyDate
The date a VLAN was last modified.protected boolean
modifyDateSpecified
protected String
name
The optional name for this VLANprotected boolean
nameSpecified
protected Network
network
The network in which this VLAN resides.protected Long
networkComponentCount
A count of the networking components that are connected to a VLAN.protected List<Component>
networkComponents
The networking components that are connected to a VLAN.protected List<Component>
networkComponentsTrunkable
The viable trunking targets of this VLAN.protected Long
networkComponentTrunkCount
A count of the network components that are connected to this VLAN through a trunk.protected List<Trunk>
networkComponentTrunks
The network components that are connected to this VLAN through a trunk.protected String
networkSpace
Identifier to denote whether a VLAN is used for public or private connectivity.protected Firewall
networkVlanFirewall
The Hardware Firewall (Dedicated) for a network vlan.protected String
note
The note for this vlan.protected boolean
noteSpecified
protected Router
primaryRouter
The primary router that a VLAN is associated with.protected Subnet
primarySubnet
A VLAN's primary subnet.protected Long
primarySubnetCount
A count ofprotected Long
primarySubnetId
The internal identifier of the primary subnet addressed on a VLAN.protected boolean
primarySubnetIdSpecified
protected List<Subnet>
primarySubnets
protected Subnet
primarySubnetVersion6
A VLAN's primary IPv6 subnet.protected Long
privateNetworkGatewayCount
A count of the gateways this VLAN is the private VLAN of.protected List<Gateway>
privateNetworkGateways
The gateways this VLAN is the private VLAN of.protected Long
protectedIpAddressCount
A count ofprotected List<IpAddress>
protectedIpAddresses
protected Long
publicNetworkGatewayCount
A count of the gateways this VLAN is the public VLAN of.protected List<Gateway>
publicNetworkGateways
The gateways this VLAN is the public VLAN of.protected Boolean
sanStorageCapabilityFlag
A flag indicating that a vlan can be assigned to a host that has SAN disk functionality.protected Long
scaleVlanCount
A count of collection of scale VLANs this VLAN applies to.protected List<Vlan>
scaleVlans
Collection of scale VLANs this VLAN applies to.protected Hardware
secondaryRouter
The secondary router that a VLAN is associated with.protected Long
secondarySubnetCount
A count of the subnets that exist as secondary interfaces on a VLANprotected List<Subnet>
secondarySubnets
The subnets that exist as secondary interfaces on a VLANprotected Long
subnetCount
A count of all of the subnets that exist as VLAN interfaces.protected List<Subnet>
subnets
All of the subnets that exist as VLAN interfaces.protected Long
tagReferenceCount
A count of references to all tags for this VLAN.protected List<Reference>
tagReferences
References to all tags for this VLAN.protected Long
totalPrimaryIpAddressCount
The number of primary IP addresses in a VLAN.protected Type
type
The type of this VLAN.protected Long
virtualGuestCount
A count of all of the Virtual Servers that are connected to a VLAN.protected List<Guest>
virtualGuests
All of the Virtual Servers that are connected to a VLAN.protected Long
vlanNumber
A VLAN's number as recorded within the SoftLayer network.protected boolean
vlanNumberSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Vlan()
-
Method Summary
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
account
@ApiProperty protected Account account
The SoftLayer customer account associated with a VLAN.
-
additionalPrimarySubnets
@ApiProperty protected List<Subnet> additionalPrimarySubnets
A VLAN's additional primary subnets. These are used to extend the number of servers attached to the VLAN by adding more ip addresses to the primary IP address pool.
-
attachedNetworkGateway
@ApiProperty protected Gateway attachedNetworkGateway
The gateway this VLAN is inside of.
-
attachedNetworkGatewayFlag
@ApiProperty protected Boolean attachedNetworkGatewayFlag
Whether or not this VLAN is inside a gateway.
-
attachedNetworkGatewayVlan
@ApiProperty protected Vlan attachedNetworkGatewayVlan
The inside VLAN record if this VLAN is inside a network gateway.
-
billingItem
@ApiProperty protected Item billingItem
The billing item for a network vlan.
-
dedicatedFirewallFlag
@ApiProperty protected Long dedicatedFirewallFlag
A flag indicating that a network vlan is on a Hardware Firewall (Dedicated).
-
extensionRouter
@ApiProperty protected Router extensionRouter
The extension router that a VLAN is associated with.
-
firewallGuestNetworkComponents
@ApiProperty protected List<Firewall> firewallGuestNetworkComponents
A firewalled Vlan's network components.
-
firewallInterfaces
@ApiProperty protected List<Interface> firewallInterfaces
A firewalled vlan's inbound/outbound interfaces.
-
firewallNetworkComponents
@ApiProperty protected List<Firewall> firewallNetworkComponents
A firewalled Vlan's network components.
-
firewallRules
@ApiProperty protected List<Rule> firewallRules
The currently running rule set of a firewalled VLAN.
-
guestNetworkComponents
@ApiProperty protected List<Component> guestNetworkComponents
The networking components that are connected to a VLAN.
-
hardware
@ApiProperty protected List<Hardware> hardware
All of the hardware that exists on a VLAN. Hardware is associated with a VLAN by its networking components.
-
highAvailabilityFirewallFlag
@ApiProperty protected Boolean highAvailabilityFirewallFlag
-
localDiskStorageCapabilityFlag
@ApiProperty protected Boolean localDiskStorageCapabilityFlag
A flag indicating that a vlan can be assigned to a host that has local disk functionality.
-
network
@ApiProperty protected Network network
The network in which this VLAN resides.
-
networkComponentTrunks
@ApiProperty protected List<Trunk> networkComponentTrunks
The network components that are connected to this VLAN through a trunk.
-
networkComponents
@ApiProperty protected List<Component> networkComponents
The networking components that are connected to a VLAN.
-
networkComponentsTrunkable
@ApiProperty protected List<Component> networkComponentsTrunkable
The viable trunking targets of this VLAN. Viable targets include accessible components of assigned hardware in the same pod and network as this VLAN, which are not already natively attached nor trunked.
-
networkSpace
@ApiProperty protected String networkSpace
Identifier to denote whether a VLAN is used for public or private connectivity.
-
networkVlanFirewall
@ApiProperty protected Firewall networkVlanFirewall
The Hardware Firewall (Dedicated) for a network vlan.
-
primaryRouter
@ApiProperty protected Router primaryRouter
The primary router that a VLAN is associated with. Every SoftLayer VLAN is connected to more than one router for greater network redundancy.
-
primarySubnet
@ApiProperty protected Subnet primarySubnet
A VLAN's primary subnet. Each VLAN has at least one subnet, usually the subnet that is assigned to a server or new IP address block when it's purchased.
-
primarySubnetVersion6
@ApiProperty protected Subnet primarySubnetVersion6
A VLAN's primary IPv6 subnet. Some VLAN's may not have a primary IPv6 subnet.
-
primarySubnets
@ApiProperty protected List<Subnet> primarySubnets
-
privateNetworkGateways
@ApiProperty protected List<Gateway> privateNetworkGateways
The gateways this VLAN is the private VLAN of.
-
protectedIpAddresses
@ApiProperty protected List<IpAddress> protectedIpAddresses
-
publicNetworkGateways
@ApiProperty protected List<Gateway> publicNetworkGateways
The gateways this VLAN is the public VLAN of.
-
sanStorageCapabilityFlag
@ApiProperty protected Boolean sanStorageCapabilityFlag
A flag indicating that a vlan can be assigned to a host that has SAN disk functionality.
-
scaleVlans
@ApiProperty protected List<Vlan> scaleVlans
Collection of scale VLANs this VLAN applies to.
-
secondaryRouter
@ApiProperty protected Hardware secondaryRouter
The secondary router that a VLAN is associated with. Every SoftLayer VLAN is connected to more than one router for greater network redundancy.
-
secondarySubnets
@ApiProperty protected List<Subnet> secondarySubnets
The subnets that exist as secondary interfaces on a VLAN
-
subnets
@ApiProperty protected List<Subnet> subnets
All of the subnets that exist as VLAN interfaces.
-
tagReferences
@ApiProperty protected List<Reference> tagReferences
References to all tags for this VLAN.
-
totalPrimaryIpAddressCount
@ApiProperty protected Long totalPrimaryIpAddressCount
The number of primary IP addresses in a VLAN.
-
type
@ApiProperty protected Type type
The type of this VLAN.
-
virtualGuests
@ApiProperty protected List<Guest> virtualGuests
All of the Virtual Servers that are connected to a VLAN.
-
accountId
@ApiProperty(canBeNullOrNotSet=true) protected Long accountId
The internal identifier of the SoftLayer customer account that a VLAN is associated with.
-
accountIdSpecified
protected boolean accountIdSpecified
-
fullyQualifiedName
@ApiProperty(canBeNullOrNotSet=true) protected String fullyQualifiedName
A human readable, unique identifier for a VLAN.
-
fullyQualifiedNameSpecified
protected boolean fullyQualifiedNameSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
A VLAN's internal identifier. This should not be confused with the ''vlanNumber'' property, which is used in network configuration.
-
idSpecified
protected boolean idSpecified
-
modifyDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar modifyDate
The date a VLAN was last modified.
-
modifyDateSpecified
protected boolean modifyDateSpecified
-
name
@ApiProperty(canBeNullOrNotSet=true) protected String name
The optional name for this VLAN
-
nameSpecified
protected boolean nameSpecified
-
note
@ApiProperty(canBeNullOrNotSet=true) protected String note
The note for this vlan.
-
noteSpecified
protected boolean noteSpecified
-
primarySubnetId
@ApiProperty(canBeNullOrNotSet=true) protected Long primarySubnetId
The internal identifier of the primary subnet addressed on a VLAN.
-
primarySubnetIdSpecified
protected boolean primarySubnetIdSpecified
-
vlanNumber
@ApiProperty(canBeNullOrNotSet=true) protected Long vlanNumber
A VLAN's number as recorded within the SoftLayer network. This is configured directly on SoftLayer's networking equipment and should not be confused with a VLAN's ''id'' property.
-
vlanNumberSpecified
protected boolean vlanNumberSpecified
-
additionalPrimarySubnetCount
@ApiProperty protected Long additionalPrimarySubnetCount
A count of a VLAN's additional primary subnets. These are used to extend the number of servers attached to the VLAN by adding more ip addresses to the primary IP address pool.
-
firewallGuestNetworkComponentCount
@ApiProperty protected Long firewallGuestNetworkComponentCount
A count of a firewalled Vlan's network components.
-
firewallInterfaceCount
@ApiProperty protected Long firewallInterfaceCount
A count of a firewalled vlan's inbound/outbound interfaces.
-
firewallNetworkComponentCount
@ApiProperty protected Long firewallNetworkComponentCount
A count of a firewalled Vlan's network components.
-
firewallRuleCount
@ApiProperty protected Long firewallRuleCount
A count of the currently running rule set of a firewalled VLAN.
-
guestNetworkComponentCount
@ApiProperty protected Long guestNetworkComponentCount
A count of the networking components that are connected to a VLAN.
-
hardwareCount
@ApiProperty protected Long hardwareCount
A count of all of the hardware that exists on a VLAN. Hardware is associated with a VLAN by its networking components.
-
networkComponentCount
@ApiProperty protected Long networkComponentCount
A count of the networking components that are connected to a VLAN.
-
networkComponentTrunkCount
@ApiProperty protected Long networkComponentTrunkCount
A count of the network components that are connected to this VLAN through a trunk.
-
primarySubnetCount
@ApiProperty protected Long primarySubnetCount
A count of
-
privateNetworkGatewayCount
@ApiProperty protected Long privateNetworkGatewayCount
A count of the gateways this VLAN is the private VLAN of.
-
protectedIpAddressCount
@ApiProperty protected Long protectedIpAddressCount
A count of
-
publicNetworkGatewayCount
@ApiProperty protected Long publicNetworkGatewayCount
A count of the gateways this VLAN is the public VLAN of.
-
scaleVlanCount
@ApiProperty protected Long scaleVlanCount
A count of collection of scale VLANs this VLAN applies to.
-
secondarySubnetCount
@ApiProperty protected Long secondarySubnetCount
A count of the subnets that exist as secondary interfaces on a VLAN
-
subnetCount
@ApiProperty protected Long subnetCount
A count of all of the subnets that exist as VLAN interfaces.
-
tagReferenceCount
@ApiProperty protected Long tagReferenceCount
A count of references to all tags for this VLAN.
-
virtualGuestCount
@ApiProperty protected Long virtualGuestCount
A count of all of the Virtual Servers that are connected to a VLAN.
-
-
Method Detail
-
getAccount
public Account getAccount()
-
setAccount
public void setAccount(Account account)
-
getAttachedNetworkGateway
public Gateway getAttachedNetworkGateway()
-
setAttachedNetworkGateway
public void setAttachedNetworkGateway(Gateway attachedNetworkGateway)
-
getAttachedNetworkGatewayFlag
public Boolean getAttachedNetworkGatewayFlag()
-
setAttachedNetworkGatewayFlag
public void setAttachedNetworkGatewayFlag(Boolean attachedNetworkGatewayFlag)
-
getAttachedNetworkGatewayVlan
public Vlan getAttachedNetworkGatewayVlan()
-
setAttachedNetworkGatewayVlan
public void setAttachedNetworkGatewayVlan(Vlan attachedNetworkGatewayVlan)
-
getBillingItem
public Item getBillingItem()
-
setBillingItem
public void setBillingItem(Item billingItem)
-
getDedicatedFirewallFlag
public Long getDedicatedFirewallFlag()
-
setDedicatedFirewallFlag
public void setDedicatedFirewallFlag(Long dedicatedFirewallFlag)
-
getExtensionRouter
public Router getExtensionRouter()
-
setExtensionRouter
public void setExtensionRouter(Router extensionRouter)
-
getHighAvailabilityFirewallFlag
public Boolean getHighAvailabilityFirewallFlag()
-
setHighAvailabilityFirewallFlag
public void setHighAvailabilityFirewallFlag(Boolean highAvailabilityFirewallFlag)
-
getLocalDiskStorageCapabilityFlag
public Boolean getLocalDiskStorageCapabilityFlag()
-
setLocalDiskStorageCapabilityFlag
public void setLocalDiskStorageCapabilityFlag(Boolean localDiskStorageCapabilityFlag)
-
getNetwork
public Network getNetwork()
-
setNetwork
public void setNetwork(Network network)
-
getNetworkSpace
public String getNetworkSpace()
-
setNetworkSpace
public void setNetworkSpace(String networkSpace)
-
getNetworkVlanFirewall
public Firewall getNetworkVlanFirewall()
-
setNetworkVlanFirewall
public void setNetworkVlanFirewall(Firewall networkVlanFirewall)
-
getPrimaryRouter
public Router getPrimaryRouter()
-
setPrimaryRouter
public void setPrimaryRouter(Router primaryRouter)
-
getPrimarySubnet
public Subnet getPrimarySubnet()
-
setPrimarySubnet
public void setPrimarySubnet(Subnet primarySubnet)
-
getPrimarySubnetVersion6
public Subnet getPrimarySubnetVersion6()
-
setPrimarySubnetVersion6
public void setPrimarySubnetVersion6(Subnet primarySubnetVersion6)
-
getSanStorageCapabilityFlag
public Boolean getSanStorageCapabilityFlag()
-
setSanStorageCapabilityFlag
public void setSanStorageCapabilityFlag(Boolean sanStorageCapabilityFlag)
-
getSecondaryRouter
public Hardware getSecondaryRouter()
-
setSecondaryRouter
public void setSecondaryRouter(Hardware secondaryRouter)
-
getTotalPrimaryIpAddressCount
public Long getTotalPrimaryIpAddressCount()
-
setTotalPrimaryIpAddressCount
public void setTotalPrimaryIpAddressCount(Long totalPrimaryIpAddressCount)
-
getType
public Type getType()
-
setType
public void setType(Type type)
-
getAccountId
public Long getAccountId()
-
setAccountId
public void setAccountId(Long accountId)
-
isAccountIdSpecified
public boolean isAccountIdSpecified()
-
unsetAccountId
public void unsetAccountId()
-
getFullyQualifiedName
public String getFullyQualifiedName()
-
setFullyQualifiedName
public void setFullyQualifiedName(String fullyQualifiedName)
-
isFullyQualifiedNameSpecified
public boolean isFullyQualifiedNameSpecified()
-
unsetFullyQualifiedName
public void unsetFullyQualifiedName()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getModifyDate
public GregorianCalendar getModifyDate()
-
setModifyDate
public void setModifyDate(GregorianCalendar modifyDate)
-
isModifyDateSpecified
public boolean isModifyDateSpecified()
-
unsetModifyDate
public void unsetModifyDate()
-
getName
public String getName()
-
setName
public void setName(String name)
-
isNameSpecified
public boolean isNameSpecified()
-
unsetName
public void unsetName()
-
getNote
public String getNote()
-
setNote
public void setNote(String note)
-
isNoteSpecified
public boolean isNoteSpecified()
-
unsetNote
public void unsetNote()
-
getPrimarySubnetId
public Long getPrimarySubnetId()
-
setPrimarySubnetId
public void setPrimarySubnetId(Long primarySubnetId)
-
isPrimarySubnetIdSpecified
public boolean isPrimarySubnetIdSpecified()
-
unsetPrimarySubnetId
public void unsetPrimarySubnetId()
-
getVlanNumber
public Long getVlanNumber()
-
setVlanNumber
public void setVlanNumber(Long vlanNumber)
-
isVlanNumberSpecified
public boolean isVlanNumberSpecified()
-
unsetVlanNumber
public void unsetVlanNumber()
-
getAdditionalPrimarySubnetCount
public Long getAdditionalPrimarySubnetCount()
-
setAdditionalPrimarySubnetCount
public void setAdditionalPrimarySubnetCount(Long additionalPrimarySubnetCount)
-
getFirewallGuestNetworkComponentCount
public Long getFirewallGuestNetworkComponentCount()
-
setFirewallGuestNetworkComponentCount
public void setFirewallGuestNetworkComponentCount(Long firewallGuestNetworkComponentCount)
-
getFirewallInterfaceCount
public Long getFirewallInterfaceCount()
-
setFirewallInterfaceCount
public void setFirewallInterfaceCount(Long firewallInterfaceCount)
-
getFirewallNetworkComponentCount
public Long getFirewallNetworkComponentCount()
-
setFirewallNetworkComponentCount
public void setFirewallNetworkComponentCount(Long firewallNetworkComponentCount)
-
getFirewallRuleCount
public Long getFirewallRuleCount()
-
setFirewallRuleCount
public void setFirewallRuleCount(Long firewallRuleCount)
-
getGuestNetworkComponentCount
public Long getGuestNetworkComponentCount()
-
setGuestNetworkComponentCount
public void setGuestNetworkComponentCount(Long guestNetworkComponentCount)
-
getHardwareCount
public Long getHardwareCount()
-
setHardwareCount
public void setHardwareCount(Long hardwareCount)
-
getNetworkComponentCount
public Long getNetworkComponentCount()
-
setNetworkComponentCount
public void setNetworkComponentCount(Long networkComponentCount)
-
getNetworkComponentTrunkCount
public Long getNetworkComponentTrunkCount()
-
setNetworkComponentTrunkCount
public void setNetworkComponentTrunkCount(Long networkComponentTrunkCount)
-
getPrimarySubnetCount
public Long getPrimarySubnetCount()
-
setPrimarySubnetCount
public void setPrimarySubnetCount(Long primarySubnetCount)
-
getPrivateNetworkGatewayCount
public Long getPrivateNetworkGatewayCount()
-
setPrivateNetworkGatewayCount
public void setPrivateNetworkGatewayCount(Long privateNetworkGatewayCount)
-
getProtectedIpAddressCount
public Long getProtectedIpAddressCount()
-
setProtectedIpAddressCount
public void setProtectedIpAddressCount(Long protectedIpAddressCount)
-
getPublicNetworkGatewayCount
public Long getPublicNetworkGatewayCount()
-
setPublicNetworkGatewayCount
public void setPublicNetworkGatewayCount(Long publicNetworkGatewayCount)
-
getScaleVlanCount
public Long getScaleVlanCount()
-
setScaleVlanCount
public void setScaleVlanCount(Long scaleVlanCount)
-
getSecondarySubnetCount
public Long getSecondarySubnetCount()
-
setSecondarySubnetCount
public void setSecondarySubnetCount(Long secondarySubnetCount)
-
getSubnetCount
public Long getSubnetCount()
-
setSubnetCount
public void setSubnetCount(Long subnetCount)
-
getTagReferenceCount
public Long getTagReferenceCount()
-
setTagReferenceCount
public void setTagReferenceCount(Long tagReferenceCount)
-
getVirtualGuestCount
public Long getVirtualGuestCount()
-
setVirtualGuestCount
public void setVirtualGuestCount(Long virtualGuestCount)
-
asService
public Vlan.Service asService(ApiClient client)
-
service
public static Vlan.Service service(ApiClient client)
-
service
public static Vlan.Service service(ApiClient client, Long id)
-
-