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.ServiceAsync
asAsync()
Get an async version of this serviceList<Vlan>
clearNetworkVlanTrunks()
This method will remove all VLANs trunked to this network component.Request
getActiveCommand()
Reboot/power (rebootDefault, rebootSoft, rebootHard, powerOn, powerOff and powerCycle) command currently executing by the server's remote management card.Interface
getComponentInterface()
[DEPRECATED] A hardware switch's interface to the bandwidth pod.Graph
getCustomBandwidthDataByDate(Graph graphData)
Retrieve bandwidth graph by date.Component
getDownlinkComponent()
The network component linking this object to a child deviceMode
getDuplexMode()
The duplex mode of a network component.Hardware
getHardware()
The hardware that a network component resides in.Boolean
getHighAvailabilityFirewallFlag()
List<IpAddress>
getIpAddressBindings()
The records of all IP addresses bound to a network component.List<IpAddress>
getIpAddresses()
Request
getLastCommand()
Last reboot/power (rebootDefault, rebootSoft, rebootHard, powerOn, powerOff and powerCycle) command issued to the server's remote management card.Object
getMetricTrackingObject()
The metric tracking object for this network component.Firewall
getNetworkComponentFirewall()
The upstream network component firewall.Group
getNetworkComponentGroup()
A network component's associated group.List<Hardware>
getNetworkHardware()
All network devices in SoftLayer's network hierarchy that this device is connected to.Vlan
getNetworkVlan()
The VLAN that a network component's subnet is associated with.List<Trunk>
getNetworkVlanTrunks()
The VLANs that are trunked to this network component.Component
getObject()
Statistic
getPortStatistics()
**DEPRECATED - This operation will cease to function after April 4th, 2016 and will be removed from v3.2**
Retrieve various network statistics.IpAddress
getPrimaryIpAddressRecord()
The primary IPv4 Address record for a network component.Subnet
getPrimarySubnet()
The subnet of the primary IP address assigned to this network component.IpAddress
getPrimaryVersion6IpAddressRecord()
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.Boolean
getRedundancyCapableFlag()
Indicates whether the network component is participating in a group of two or more components capable of being operationally redundant, if enabled.Boolean
getRedundancyEnabledFlag()
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.Hardware
getRouter()
A network component's routers.Boolean
getStorageNetworkFlag()
Whether a network component's primary ip address is from a storage network subnet or not.List<Subnet>
getSubnets()
A network component's subnets.Component
getUplinkComponent()
The network component linking this object to parentMode
getUplinkDuplexMode()
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.void
setMask(Component.Mask mask)
Component.Mask
withMask()
Use the existing mask on this service or create it if not presentComponent.Mask
withNewMask()
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:Service
Get an async version of this service -
withNewMask
Component.Mask withNewMask()Description copied from interface:Maskable
Overwrite the existing mask on this service with a new one and return it- Specified by:
withNewMask
in interfaceMaskable
-
withMask
Component.Mask withMask()Description copied from interface:Maskable
Use 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
-