Interface Component.Service
- All Superinterfaces:
Maskable,ResultLimitable,Service
- Enclosing class:
- Component
@ApiService("SoftLayer_Network_Component") public static interface Component.Service extends Service
- See Also:
- SoftLayer_Network_Component
-
Method Summary
Modifier and Type Method Description List<Vlan>addNetworkVlanTrunks(List<Vlan> networkVlans)Add VLANs as trunks to a network component.Component.ServiceAsyncasAsync()Get an async version of this serviceList<Vlan>clearNetworkVlanTrunks()This method will remove all VLANs trunked to this network component.RequestgetActiveCommand()Reboot/power (rebootDefault, rebootSoft, rebootHard, powerOn, powerOff and powerCycle) command currently executing by the server's remote management card.InterfacegetComponentInterface()[DEPRECATED] A hardware switch's interface to the bandwidth pod.GraphgetCustomBandwidthDataByDate(Graph graphData)Retrieve bandwidth graph by date.ComponentgetDownlinkComponent()The network component linking this object to a child deviceModegetDuplexMode()The duplex mode of a network component.HardwaregetHardware()The hardware that a network component resides in.BooleangetHighAvailabilityFirewallFlag()List<IpAddress>getIpAddressBindings()The records of all IP addresses bound to a network component.List<IpAddress>getIpAddresses()RequestgetLastCommand()Last reboot/power (rebootDefault, rebootSoft, rebootHard, powerOn, powerOff and powerCycle) command issued to the server's remote management card.ObjectgetMetricTrackingObject()The metric tracking object for this network component.FirewallgetNetworkComponentFirewall()The upstream network component firewall.GroupgetNetworkComponentGroup()A network component's associated group.List<Hardware>getNetworkHardware()All network devices in SoftLayer's network hierarchy that this device is connected to.VlangetNetworkVlan()The VLAN that a network component's subnet is associated with.List<Trunk>getNetworkVlanTrunks()The VLANs that are trunked to this network component.ComponentgetObject()StatisticgetPortStatistics()
**DEPRECATED - This operation will cease to function after April 4th, 2016 and will be removed from v3.2**
Retrieve various network statistics.IpAddressgetPrimaryIpAddressRecord()The primary IPv4 Address record for a network component.SubnetgetPrimarySubnet()The subnet of the primary IP address assigned to this network component.IpAddressgetPrimaryVersion6IpAddressRecord()The primary IPv6 Address record for a network component.List<Request>getRecentCommands()The last five reboot/power (rebootDefault, rebootSoft, rebootHard, powerOn, powerOff and powerCycle) commands issued to the server's remote management card.BooleangetRedundancyCapableFlag()Indicates whether the network component is participating in a group of two or more components capable of being operationally redundant, if enabled.BooleangetRedundancyEnabledFlag()Indicates whether the network component is participating in a group of two or more components which is actively providing link redundancy.List<User>getRemoteManagementUsers()User(s) credentials to issue commands and/or interact with the server's remote management card.HardwaregetRouter()A network component's routers.BooleangetStorageNetworkFlag()Whether a network component's primary ip address is from a storage network subnet or not.List<Subnet>getSubnets()A network component's subnets.ComponentgetUplinkComponent()The network component linking this object to parentModegetUplinkDuplexMode()The duplex mode of the uplink network component linking to this objectList<Vlan>removeNetworkVlanTrunks(List<Vlan> networkVlans)Remove one or more VLANs currently attached to the uplinkComponent of this networkComponent.voidsetMask(Component.Mask mask)Component.MaskwithMask()Use the existing mask on this service or create it if not presentComponent.MaskwithNewMask()Overwrite the existing mask on this service with a new one and return itMethods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
Method Details
-
asAsync
Component.ServiceAsync asAsync()Description copied from interface:ServiceGet an async version of this service -
withNewMask
Component.Mask withNewMask()Description copied from interface:MaskableOverwrite the existing mask on this service with a new one and return it- Specified by:
withNewMaskin interfaceMaskable
-
withMask
Component.Mask withMask()Description copied from interface:MaskableUse the existing mask on this service or create it if not present -
setMask
-
addNetworkVlanTrunks
Add VLANs as trunks to a network component. The VLANs given must be assigned to your account, and on the router to which this network component is connected. The current native VLAN (networkVlanId/networkVlan) cannot be added as a trunk. This method should be called on a network component attached directly to customer assigned hardware, though all trunking operations will occur on the uplinkComponent. A current list of VLAN trunks for a network component on a customer server can be found at 'uplinkComponent->networkVlanTrunks'.
This method returns an array of SoftLayer_Network_Vlans which were added as trunks. Any requested trunks which are already trunked will be silently ignored, and will not be returned.
Configuration of network hardware is done asynchronously, do not depend on the return of this call as an indication that the newly trunked VLANs will be accessible. -
clearNetworkVlanTrunks
This method will remove all VLANs trunked to this network component. The native VLAN (networkVlanId/networkVlan) will remain active, and cannot be removed via the API. Returns a list of SoftLayer_Network_Vlan objects for which the trunks were removed. -
getCustomBandwidthDataByDate
Retrieve bandwidth graph by date. -
getObject
- See Also:
- SoftLayer_Network_Component::getObject
-
getPortStatistics
**DEPRECATED - This operation will cease to function after April 4th, 2016 and will be removed from v3.2**
Retrieve various network statistics. The network statistics are retrieved from the network device using snmpget. Below is a list of statistics retrieved:
* Administrative Status
* Operational Status
* Maximum Transmission Unit
* In Octets
* Out Octets
* In Unicast Packets
* Out Unicast Packets
* In Multicast Packets
* Out Multicast Packets -
removeNetworkVlanTrunks
Remove one or more VLANs currently attached to the uplinkComponent of this networkComponent. The VLANs given must be assigned to your account, and on the router the network component is connected to. If any VLANs not currently trunked are given, they will be silently ignored.
This method should be called on a network component attached directly to customer assigned hardware, though all trunking operations will occur on the uplinkComponent. A current list of VLAN trunks for a network component on a customer server can be found at 'uplinkComponent->networkVlanTrunks'.
Configuration of network hardware is done asynchronously, do not depend on the return of this call as an indication that the removed VLANs will be inaccessible. -
getActiveCommand
Reboot/power (rebootDefault, rebootSoft, rebootHard, powerOn, powerOff and powerCycle) command currently executing by the server's remote management card. -
getDownlinkComponent
The network component linking this object to a child device -
getDuplexMode
The duplex mode of a network component. -
getHardware
The hardware that a network component resides in.- See Also:
- SoftLayer_Network_Component::getHardware
-
getHighAvailabilityFirewallFlag
-
getComponentInterface
[DEPRECATED] A hardware switch's interface to the bandwidth pod. -
getIpAddressBindings
The records of all IP addresses bound to a network component. -
getIpAddresses
-
getLastCommand
Last reboot/power (rebootDefault, rebootSoft, rebootHard, powerOn, powerOff and powerCycle) command issued to the server's remote management card. -
getMetricTrackingObject
The metric tracking object for this network component. -
getNetworkComponentFirewall
The upstream network component firewall. -
getNetworkComponentGroup
A network component's associated group. -
getNetworkHardware
All network devices in SoftLayer's network hierarchy that this device is connected to. -
getNetworkVlan
The VLAN that a network component's subnet is associated with. -
getNetworkVlanTrunks
The VLANs that are trunked to this network component. -
getPrimaryIpAddressRecord
The primary IPv4 Address record for a network component. -
getPrimarySubnet
The subnet of the primary IP address assigned to this network component. -
getPrimaryVersion6IpAddressRecord
The primary IPv6 Address record for a network component. -
getRecentCommands
The last five reboot/power (rebootDefault, rebootSoft, rebootHard, powerOn, powerOff and powerCycle) commands issued to the server's remote management card. -
getRedundancyCapableFlag
Indicates whether the network component is participating in a group of two or more components capable of being operationally redundant, if enabled. -
getRedundancyEnabledFlag
Indicates whether the network component is participating in a group of two or more components which is actively providing link redundancy. -
getRemoteManagementUsers
User(s) credentials to issue commands and/or interact with the server's remote management card. -
getRouter
A network component's routers.- See Also:
- SoftLayer_Network_Component::getRouter
-
getStorageNetworkFlag
Whether a network component's primary ip address is from a storage network subnet or not. [Deprecated] -
getSubnets
A network component's subnets. A subnet is a group of IP addresses- See Also:
- SoftLayer_Network_Component::getSubnets
-
getUplinkComponent
The network component linking this object to parent -
getUplinkDuplexMode
The duplex mode of the uplink network component linking to this object
-