public class LogicalInterconnectGroupClientImpl extends Object implements LogicalInterconnectGroupClient
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOGGER |
Modifier | Constructor and Description |
---|---|
protected |
LogicalInterconnectGroupClientImpl(LogicalInterconnectGroupAdaptor adaptor,
TaskAdaptor taskAdaptor,
TaskMonitorManager taskMonitor) |
Modifier and Type | Method and Description |
---|---|
TaskResourceV2 |
createLogicalInterconnectGroup(RestParams params,
LogicalInterconnectGroups logicalInterconnectGroupDto,
boolean aSync,
boolean useJsonRequest)
The module aids in creation of logical interconnect group when provided
with the logical interconnect group details as LogicalInterconnectGroups
object or a JsonRequest.
|
TaskResourceV2 |
deleteLogicalInterconnectGroup(RestParams params,
String resourceId,
boolean aSync)
The module aids in deleting a logical interconnect group for the specified
logical interconnect group resource identifier.
|
LogicalInterconnectGroupCollectionV2 |
getAllLogicalInterconnectGroups(RestParams params)
The module aids in fetching the logical interconnect group details for all the
logical interconnect groups found under the current HPE OneView.
|
static LogicalInterconnectGroupClient |
getClient() |
InterconnectSettingsV2 |
getDefaultInterconnectSettings(RestParams params)
The module aids in fetching the default interconnect settings details for
the logical interconnect group found under the current HPE OneView.
|
String |
getId(RestParams params,
String name)
The module aids in fetching the logical interconnect group resource identifier for the
logical interconnect group name as specified in HPE OneView.
|
InterconnectSettingsV2 |
getInterconnectSettings(RestParams params,
String resourceId)
The module aids in fetching the interconnect settings details for the
logical interconnect group found under the current HPE OneView.
|
InterconnectSettingsV2 |
getInterconnectSettings(RestParams params,
String resourceId,
String settingId)
The module aids in fetching the interconnect settings details for the
logical interconnect group found under the current HPE OneView.
|
LogicalInterconnectGroups |
getLogicalInterconnectGroup(RestParams params,
String resourceId)
The module aids in fetching the logical interconnect group details for the
specified logical interconnect group resource identifier.
|
LogicalInterconnectGroups |
getLogicalInterconnectGroupByName(RestParams params,
String name)
The module aids in fetching the logical interconnect group details for the
logical interconnect group name as specified in HPE OneView.
|
TaskResourceV2 |
updateLogicalInterconnectGroup(RestParams params,
String resourceId,
List<UplinkSet> uplinkSetDto,
boolean aSync,
boolean useJsonRequest)
The module takes in a list of UplinkSet object or JsonRequest and updates the
existing logical interconnect group based on the resource identifier.
|
protected LogicalInterconnectGroupClientImpl(LogicalInterconnectGroupAdaptor adaptor, TaskAdaptor taskAdaptor, TaskMonitorManager taskMonitor)
public static LogicalInterconnectGroupClient getClient()
public LogicalInterconnectGroups getLogicalInterconnectGroup(RestParams params, String resourceId)
LogicalInterconnectGroupClient
getLogicalInterconnectGroup
in interface LogicalInterconnectGroupClient
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for logical interconnect group as seen in HPE OneView.LogicalInterconnectGroups
containing the logical interconnect group details.public LogicalInterconnectGroupCollectionV2 getAllLogicalInterconnectGroups(RestParams params)
LogicalInterconnectGroupClient
getAllLogicalInterconnectGroups
in interface LogicalInterconnectGroupClient
params
- The RestParams
is a structure containing the connection details.LogicalInterconnectGroupCollectionV2
containing a collection of
logical interconnect group details.public LogicalInterconnectGroups getLogicalInterconnectGroupByName(RestParams params, String name)
LogicalInterconnectGroupClient
getLogicalInterconnectGroupByName
in interface LogicalInterconnectGroupClient
params
- The RestParams
is a structure containing the connection details.name
- The name is the logical interconnect group name as seen in HPE OneView.LogicalInterconnectGroups
containing the logical interconnect group details.public TaskResourceV2 createLogicalInterconnectGroup(RestParams params, LogicalInterconnectGroups logicalInterconnectGroupDto, boolean aSync, boolean useJsonRequest)
LogicalInterconnectGroupClient
createLogicalInterconnectGroup
in interface LogicalInterconnectGroupClient
params
- The RestParams
is a structure containing the connection details.logicalInterconnectGroupDto
- Object containing the logical interconnect group details,
used to create a logical interconnect group.aSync
- Flag input to process request asynchronously or synchronously.useJsonRequest
- The JsonRequest body is part of LogicalInterconnectGroups
object which takes in a String containing the new
logical interconnect group details, which is converted to
LogicalInterconnectGroups object using adaptor and processed.TaskResourceV2
containing the task status for the process.public TaskResourceV2 updateLogicalInterconnectGroup(RestParams params, String resourceId, List<UplinkSet> uplinkSetDto, boolean aSync, boolean useJsonRequest)
LogicalInterconnectGroupClient
updateLogicalInterconnectGroup
in interface LogicalInterconnectGroupClient
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for logical interconnect group as seen in HPE OneView.uplinkSetDto
- List of UplinkSet details used to update a logical interconnect group.aSync
- Flag input to process request asynchronously or synchronously.useJsonRequest
- The JsonRequest body is part of UplinkSet object which takes
in a String containing the update to be made, which is
converted to UplinkSet object using an adaptor and processed.TaskResourceV2
containing the task status for the process.public TaskResourceV2 deleteLogicalInterconnectGroup(RestParams params, String resourceId, boolean aSync)
LogicalInterconnectGroupClient
deleteLogicalInterconnectGroup
in interface LogicalInterconnectGroupClient
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for logical interconnect group as seen in HPE OneView.aSync
- Flag input to process request asynchronously or synchronously.TaskResourceV2
containing the task status for the process.public InterconnectSettingsV2 getDefaultInterconnectSettings(RestParams params)
LogicalInterconnectGroupClient
getDefaultInterconnectSettings
in interface LogicalInterconnectGroupClient
params
- The RestParams
is a structure containing the connection details.InterconnectSettingsV2
containing the interconnect setting details.public InterconnectSettingsV2 getInterconnectSettings(RestParams params, String resourceId)
LogicalInterconnectGroupClient
getInterconnectSettings
in interface LogicalInterconnectGroupClient
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for logical interconnect group as seen in HPE OneView.InterconnectSettingsV2
containing the interconnect setting details.public InterconnectSettingsV2 getInterconnectSettings(RestParams params, String resourceId, String settingId)
LogicalInterconnectGroupClient
getInterconnectSettings
in interface LogicalInterconnectGroupClient
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for logical interconnect group as seen in HPE OneView.settingId
- The settingId for logical interconnect group as seen in HPE OneView.InterconnectSettingsV2
containing the interconnect setting details.public String getId(RestParams params, String name)
LogicalInterconnectGroupClient
getId
in interface LogicalInterconnectGroupClient
params
- The RestParams
is a structure containing the connection details.name
- The name is the logical interconnect group name as seen in HPE OneView.Copyright © 2016. All rights reserved.