public class InterconnectsClientImpl extends Object implements InterconnectsClient
| Modifier | Constructor and Description |
|---|---|
protected |
InterconnectsClientImpl(InterconnectAdaptor adaptor,
TaskAdaptor taskAdaptor,
TaskMonitorManager taskMonitor) |
| Modifier and Type | Method and Description |
|---|---|
InterconnectsCollection |
getAllInterconnects(RestParams params)
The module aids in fetching the interconnects details for all the
interconnects found under the current HPE OneView.
|
static InterconnectsClient |
getClient() |
String |
getId(RestParams params,
String name)
The module aids in fetching the interconnect driver resource identifier for
the interconnect name as specified in HPE OneView.
|
Interconnects |
getInterconnectById(RestParams params,
String resourceId)
The module aids in fetching the interconnect details for the specified
interconnect resource identifier.
|
Interconnects |
getInterconnectByName(RestParams params,
String interconnectName)
The module aids in fetching the interconnect details for the interconnect name
as specified in HPE OneView.
|
List<NameServer> |
getInterconnectNamedServers(RestParams params,
String resourceId)
Gets the named servers for an interconnect.
|
PortStatistics |
getInterconnectPortStatistics(RestParams params,
String resourceId,
String portName)
Gets the port statistics from an interconnect.
|
InterconnectsStatistics |
getInterconnectStatistics(RestParams params,
String resourceId)
Gets the statistics from an interconnect.
|
SubportStatistics |
getInterconnectSubportStatistics(RestParams params,
String resourceId,
String portName,
int subportNumber)
Gets the subport statistics from an interconnect.
|
TaskResourceV2 |
patchInterconnect(RestParams params,
String resourceId,
Patch patchDto,
boolean aSync)
Performs a specific patch operation for the given interconnect.
|
TaskResourceV2 |
resetInterconnectPortProtection(RestParams params,
String resourceId,
boolean aSync)
Triggers a reset of port protection.
|
TaskResourceV2 |
updateInterconnectPort(RestParams params,
String resourceId,
Port portDto,
boolean aSync,
boolean useJsonRequest)
Updates an interconnect port.
|
TaskResourceV2 |
updateInterconnectPorts(RestParams params,
String resourceId,
List<Port> portsDto,
boolean aSync,
boolean useJsonRequest)
Updates the interconnect ports.
|
protected InterconnectsClientImpl(InterconnectAdaptor adaptor, TaskAdaptor taskAdaptor, TaskMonitorManager taskMonitor)
public static InterconnectsClient getClient()
public Interconnects getInterconnectById(RestParams params, String resourceId)
InterconnectsClientgetInterconnectById in interface InterconnectsClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for interconnect as seen in HPE OneView.Interconnects containing the interconnect details.public InterconnectsCollection getAllInterconnects(RestParams params)
InterconnectsClientgetAllInterconnects in interface InterconnectsClientparams - The RestParams is a structure containing the connection details.InterconnectsCollection containing a collection of interconnects details.public Interconnects getInterconnectByName(RestParams params, String interconnectName)
InterconnectsClientgetInterconnectByName in interface InterconnectsClientparams - The RestParams is a structure containing the connection details.interconnectName - The interconnectName is the interconnect name as seen in HPE OneView.Interconnects containing the interconnect details.public TaskResourceV2 patchInterconnect(RestParams params, String resourceId, Patch patchDto, boolean aSync)
InterconnectsClientpatchInterconnect in interface InterconnectsClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for interconnect as seen in HPE OneView.patchDto - This is a object containing the update to be made to existing interconnect.aSync - Flag input to process request asynchronously or synchronously.TaskResourceV2 containing the task status for the process.public TaskResourceV2 updateInterconnectPort(RestParams params, String resourceId, Port portDto, boolean aSync, boolean useJsonRequest)
InterconnectsClientupdateInterconnectPort in interface InterconnectsClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for interconnect as seen in HPE OneView.portDto - This is a object containing the update to be made to existing
interconnect pointed to by the above mentioned resource identifier.aSync - Flag input to process request asynchronously or synchronously.useJsonRequest - The JsonRequest body is part of Port object which takes
in a String containing the update to be made, which is
converted to Port object using adaptor and processed.TaskResourceV2 containing the task status for the process.public TaskResourceV2 resetInterconnectPortProtection(RestParams params, String resourceId, boolean aSync)
InterconnectsClientresetInterconnectPortProtection in interface InterconnectsClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for interconnect as seen in HPE OneView.aSync - Flag input to process request asynchronously or synchronously.TaskResourceV2 containing the task status for the process.public InterconnectsStatistics getInterconnectStatistics(RestParams params, String resourceId)
InterconnectsClientgetInterconnectStatistics in interface InterconnectsClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for interconnect as seen in HPE OneView.InterconnectsStatistics containing the interconnect statistics details.public PortStatistics getInterconnectPortStatistics(RestParams params, String resourceId, String portName)
InterconnectsClientgetInterconnectPortStatistics in interface InterconnectsClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for interconnect as seen in HPE OneView.portName - The name of the port as seen in HPE OneView.PortStatistics containing the port statistics details.public SubportStatistics getInterconnectSubportStatistics(RestParams params, String resourceId, String portName, int subportNumber)
InterconnectsClientgetInterconnectSubportStatistics in interface InterconnectsClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for interconnect as seen in HPE OneView.portName - The name of the port as seen in HPE OneView.subportNumber - The number of the subport as seen in HPE OneView.SubportStatistics containing the subport statistics details.public TaskResourceV2 updateInterconnectPorts(RestParams params, String resourceId, List<Port> portsDto, boolean aSync, boolean useJsonRequest)
InterconnectsClientupdateInterconnectPorts in interface InterconnectsClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for interconnect as seen in HPE OneView.portsDto - This is an array of objects containing the update to be made to existing
interconnect ports.aSync - Flag input to process request asynchronously or synchronously..useJsonRequest - The JsonRequest body is part of list of Port object which takes
in a String containing the update to be made, which is
converted to an array of Port object using adaptor and processed.TaskResourceV2 containing the task status for the process.public List<NameServer> getInterconnectNamedServers(RestParams params, String resourceId)
InterconnectsClientgetInterconnectNamedServers in interface InterconnectsClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for interconnect as seen in HPE OneView.public String getId(RestParams params, String name)
InterconnectsClientgetId in interface InterconnectsClientparams - The RestParams is a structure containing the connection details.name - The name is the interconnect driver name as seen in HPE OneView.Copyright © 2016. All rights reserved.