public class LogicalInterconnectClientImpl extends Object implements LogicalInterconnectClient
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOGGER |
| Modifier | Constructor and Description |
|---|---|
protected |
LogicalInterconnectClientImpl(LogicalInterconnectAdaptor adaptor,
TaskAdaptor taskAdaptor,
TaskMonitorManager taskMonitor) |
| Modifier and Type | Method and Description |
|---|---|
TaskResourceV2 |
createLogicalInterconnect(RestParams params,
Location locationDto,
boolean aSync,
boolean useJsonRequest)
The module aids in creating an interconnect at the given location.
|
InterconnectFibDataInfo |
createLogicalInterconnectForwardingInformationBase(RestParams params,
String resourceId)
This module aids in generating the forwarding information base dump file
for a logical interconnect.
|
TaskResourceV2 |
deleteLogicalInterconnect(RestParams params,
String enclosureUri,
String bay,
boolean aSync)
The module aids in removing an interconnect from a location.
|
LogicalInterconnectCollectionV2 |
getAllLogicalInterconnects(RestParams params)
The module aids in fetching the logical interconnect details for all
logical interconnects found under the current HPE OneView.
|
static LogicalInterconnectClient |
getClient() |
String |
getId(RestParams params,
String name)
The module aids in fetching the logical interconnect resource identifier for the
logical interconnect name as specified in HPE OneView.
|
LogicalInterconnects |
getLogicalInterconnect(RestParams params,
String resourceId)
The module aids in fetching the logical interconnect details for the
specified logical interconnect resource identifier.
|
LogicalInterconnects |
getLogicalInterconnectByName(RestParams params,
String logicalInterconnectName)
The module aids in fetching the logical interconnect details for the specified
logical interconnect name.
|
LiFirmware |
getLogicalInterconnectFirmwareById(RestParams params,
String resourceId)
The module aids in fetching the logical interconnect firmware for the specified
logical interconnect identified by the resource identifier.
|
InterconnectFibData |
getLogicalInterconnectForwardingInformationBase(RestParams params,
String resourceId)
This module aids in fetching the forwarding information base data for a
logical interconnect.
|
InternalVlanAssociationCollection |
getLogicalInterconnectInternalVlans(RestParams params,
String resourceId)
This module aids in fetching the internal VLAN identifiers for the provisioned networks of a logical interconnect.
|
PortMonitor |
getLogicalInterconnectPortMonitorConfiguration(RestParams params,
String resourceId)
This module aids in fetching the port monitor configuration of a logical interconnect.
|
QosAggregatedConfiguration |
getLogicalInterconnectQosAggregatedConfiguration(RestParams params,
String resourceId)
This method aids in fetching the QoS aggregated configuration for the logical interconnect.
|
SnmpConfiguration |
getLogicalInterconnectSnmpConfigurationById(RestParams params,
String resourceId)
This module aids in fetching the SNMP configuration for a logical
interconnect that is specified by resource identifier.
|
TelemetryConfiguration |
getLogicalInterconnectTelemetryConfiguration(RestParams params,
String resourceId,
String telemetryConfigurationId)
This module aids in fetching the telemetry configuration of a logical interconnect.
|
PortMonitorUplinkPortCollection |
getLogicalInterconnectUnassignedUplinkPortsForPortMonitor(RestParams params,
String resourceId)
This module aids in fetching a collection of uplink ports from the member
interconnects which are eligible for assignment to an analyzer port.
|
TaskResourceV2 |
updateEthernetSettings(RestParams params,
String resourceId,
EthernetInterconnectSettingsV2 ethernetInterconnectSettingsDto,
boolean asyncOrSyncMode)
This method aids in updating the ethernet interconnect settings for the logical interconnect.
|
TaskResourceV2 |
updateLogicalInterconnectComplianceById(RestParams params,
String resourceId,
boolean asyncOrSyncMode)
This modules aids in fetching a logical interconnect to a consistent state.
|
TaskResourceV2 |
updateLogicalInterconnectConfiguration(RestParams params,
String resourceId)
This module aids in asynchronously applying or re-applying the logical
interconnect configuration to all managed interconnects.
|
TaskResourceV2 |
updateLogicalInterconnectFirmwareById(RestParams params,
String resourceId,
LiFirmware lIFirmwareDto,
boolean asyncOrSyncMode,
boolean useJsonRequest)
The method installs firmware to a logical interconnect.
|
TaskResourceV2 |
updateLogicalInterconnectInternalNetworks(RestParams params,
String resourceId,
List<String> networkUris)
This module aids in updating the internal networks of a logical interconnect.
|
TaskResourceV2 |
updateLogicalInterconnectPortMonitorConfiguration(RestParams params,
String resourceId,
PortMonitor portMonitorDto)
This module aids in updating the port monitor configuration of a logical interconnect.
|
TaskResourceV2 |
updateLogicalInterconnectQosAggregatedConfiguration(RestParams params,
String resourceId,
QosAggregatedConfiguration qosAggregatedConfigurationDto)
This modules aids in updating the QoS aggregated configuration for the logical interconnect.
|
TaskResourceV2 |
updateLogicalInterconnectSettings(RestParams params,
String resourceId,
InterconnectSettingsV2 interconnectSettings)
This modules aids in updating interconnect settings on the logical interconnect.
|
TaskResourceV2 |
updateLogicalInterconnectSnmpConfigurationById(RestParams params,
String resourceId,
SnmpConfiguration snmpConfigurationDto,
boolean asyncOrSyncMode,
boolean useJsonRequest)
This modules aids in updating the SNMP configuration of a logical interconnect.
|
TelemetryConfiguration |
updateLogicalInterconnectTelemetryConfiguration(RestParams params,
String resourceId,
String TelemetryConfigurationId,
TelemetryConfiguration telemetryConfigurationDto)
This module aids in updating the telemetry configuration of a logical
interconnect specified by resource identifier.
|
TaskResourceV2 |
updateLogicalInterconnectTelemetryConfigurationV200(RestParams params,
String resourceId,
String TelemetryConfigurationId,
TelemetryConfiguration telemetryConfigurationDto)
This module aids in updating the telemetry configuration of a logical
interconnect specified by resource identifier.
|
protected LogicalInterconnectClientImpl(LogicalInterconnectAdaptor adaptor, TaskAdaptor taskAdaptor, TaskMonitorManager taskMonitor)
public static LogicalInterconnectClient getClient()
public LogicalInterconnects getLogicalInterconnect(RestParams params, String resourceId)
LogicalInterconnectClientgetLogicalInterconnect in interface LogicalInterconnectClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for logical interconnect as seen in HPE OneView.LogicalInterconnects containing the logical interconnect details.public LogicalInterconnectCollectionV2 getAllLogicalInterconnects(RestParams params)
LogicalInterconnectClientgetAllLogicalInterconnects in interface LogicalInterconnectClientparams - The RestParams is a structure containing the connection details.LogicalInterconnectCollectionV2 containing a collection of
logical interconnect details.public LogicalInterconnects getLogicalInterconnectByName(RestParams params, String logicalInterconnectName)
LogicalInterconnectClientgetLogicalInterconnectByName in interface LogicalInterconnectClientparams - The RestParams is a structure containing the connection details.logicalInterconnectName - The logicalInterconnectName is the logical interconnect name as
seen in HPE OneView.LogicalInterconnects containing the logical interconnect details.public LiFirmware getLogicalInterconnectFirmwareById(RestParams params, String resourceId)
LogicalInterconnectClientgetLogicalInterconnectFirmwareById in interface LogicalInterconnectClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for logical interconnect as seen in HPE OneView.LiFirmware containing the LI firmware details.public TaskResourceV2 updateLogicalInterconnectSnmpConfigurationById(RestParams params, String resourceId, SnmpConfiguration snmpConfigurationDto, boolean asyncOrSyncMode, boolean useJsonRequest)
LogicalInterconnectClientupdateLogicalInterconnectSnmpConfigurationById in interface LogicalInterconnectClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for logical interconnect as seen in HPE OneView.snmpConfigurationDto - This is a SnmpConfiguration object containing the update to be
made to existing logical interconnect pointed to by the above
mentioned resource identifier.asyncOrSyncMode - Flag input to process request asynchronously or synchronously.useJsonRequest - The JsonRequest body is part of SnmpConfiguration object
which takes in a String containing the update to be made,
which is converted to SnmpConfiguration object using adaptor
and processed.TaskResourceV2 containing the task status for the process.public TaskResourceV2 updateLogicalInterconnectComplianceById(RestParams params, String resourceId, boolean asyncOrSyncMode)
LogicalInterconnectClientupdateLogicalInterconnectComplianceById in interface LogicalInterconnectClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for logical interconnect as seen in HPE OneView.asyncOrSyncMode - Flag input to process request asynchronously or synchronously.TaskResourceV2 containing the task status for the process.public TaskResourceV2 updateLogicalInterconnectFirmwareById(RestParams params, String resourceId, LiFirmware lIFirmwareDto, boolean asyncOrSyncMode, boolean useJsonRequest)
LogicalInterconnectClientupdateLogicalInterconnectFirmwareById in interface LogicalInterconnectClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for logical interconnect as seen in HPE OneView.lIFirmwareDto - This is a LiFirmware object containing the update to be made
to existing logical interconnect pointed to by the above
mentioned resource identifier.asyncOrSyncMode - Flag input to process request asynchronously or synchronously.useJsonRequest - The JsonRequest body is part of LiFirmware object
which takes in a String containing the update to be made,
which is converted to LiFirmware object using adaptor
and processed.TaskResourceV2 containing the task status for the process.public InterconnectFibData getLogicalInterconnectForwardingInformationBase(RestParams params, String resourceId)
LogicalInterconnectClientgetLogicalInterconnectForwardingInformationBase in interface LogicalInterconnectClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for logical interconnect as seen in HPE OneView.InterconnectFibData containing the interconnect forwarding
information base data details.public InterconnectFibDataInfo createLogicalInterconnectForwardingInformationBase(RestParams params, String resourceId)
LogicalInterconnectClientcreateLogicalInterconnectForwardingInformationBase in interface LogicalInterconnectClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for logical interconnect as seen in HPE OneView.InterconnectFibData containing the interconnect forwarding
information base data details.public SnmpConfiguration getLogicalInterconnectSnmpConfigurationById(RestParams params, String resourceId)
LogicalInterconnectClientgetLogicalInterconnectSnmpConfigurationById in interface LogicalInterconnectClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for logical interconnect as seen in HPE OneView.SnmpConfiguration containing the SNMP configuration details.public PortMonitorUplinkPortCollection getLogicalInterconnectUnassignedUplinkPortsForPortMonitor(RestParams params, String resourceId)
LogicalInterconnectClientgetLogicalInterconnectUnassignedUplinkPortsForPortMonitor in interface LogicalInterconnectClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for logical interconnect as seen in HPE OneView.PortMonitorUplinkPortCollection containing the port monitor uplink port collection details.public TaskResourceV2 updateLogicalInterconnectConfiguration(RestParams params, String resourceId)
LogicalInterconnectClientupdateLogicalInterconnectConfiguration in interface LogicalInterconnectClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for logical interconnect as seen in HPE OneView.TaskResourceV2 containing the task status for the process.public PortMonitor getLogicalInterconnectPortMonitorConfiguration(RestParams params, String resourceId)
LogicalInterconnectClientgetLogicalInterconnectPortMonitorConfiguration in interface LogicalInterconnectClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for logical interconnect as seen in HPE OneView.PortMonitor containing the port monitor details.public TaskResourceV2 updateLogicalInterconnectPortMonitorConfiguration(RestParams params, String resourceId, PortMonitor portMonitorDto)
LogicalInterconnectClientupdateLogicalInterconnectPortMonitorConfiguration in interface LogicalInterconnectClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for logical interconnect as seen in HPE OneView.portMonitorDto - The port monitor fom the logical interconnect as seen in HPE OneView.TaskResourceV2 containing the task status for the process.public TelemetryConfiguration getLogicalInterconnectTelemetryConfiguration(RestParams params, String resourceId, String telemetryConfigurationId)
LogicalInterconnectClientgetLogicalInterconnectTelemetryConfiguration in interface LogicalInterconnectClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for logical interconnect as seen in HPE OneView.telemetryConfigurationId - The telemetry configuration identifier for the logical interconnect as seen in HPE OneView.TelemetryConfiguration containing the telemetry configuration details.public TelemetryConfiguration updateLogicalInterconnectTelemetryConfiguration(RestParams params, String resourceId, String TelemetryConfigurationId, TelemetryConfiguration telemetryConfigurationDto)
LogicalInterconnectClientupdateLogicalInterconnectTelemetryConfiguration in interface LogicalInterconnectClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for logical interconnect as seen in HPE OneView.TelemetryConfigurationId - The telemetry configuration identifier that specifies the telemetry identifier
for the resource specified by resource identifier.telemetryConfigurationDto - Object containing the update to be made to existing
telemetry configuration for logical interconnect pointed to
by the above mentioned telemetry configuration identifier and resource identifier.TelemetryConfiguration containing the telemetry configuration details.public TaskResourceV2 updateLogicalInterconnectTelemetryConfigurationV200(RestParams params, String resourceId, String TelemetryConfigurationId, TelemetryConfiguration telemetryConfigurationDto)
LogicalInterconnectClientupdateLogicalInterconnectTelemetryConfigurationV200 in interface LogicalInterconnectClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for logical interconnect as seen in HPE OneView.TelemetryConfigurationId - The telemetry configuration identifier that specifies the telemetry
identifier for the resource specified by resource identifier.telemetryConfigurationDto - Object containing the update to be made to existing
telemetry configuration for logical interconnect pointed to
by the above mentioned telemetry configuration identifier and resource identifier.TaskResourceV2 containing the task status for the process.public TaskResourceV2 updateEthernetSettings(RestParams params, String resourceId, EthernetInterconnectSettingsV2 ethernetInterconnectSettingsDto, boolean asyncOrSyncMode)
LogicalInterconnectClientupdateEthernetSettings in interface LogicalInterconnectClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for logical interconnect as seen in HPE OneView.ethernetInterconnectSettingsDto - The ethernet settings for logical interconnect as seen in HPE OneView.asyncOrSyncMode - Flag input to process request asynchronously or synchronously.TaskResourceV2 containing the task status for the process.public TaskResourceV2 createLogicalInterconnect(RestParams params, Location locationDto, boolean aSync, boolean useJsonRequest)
LogicalInterconnectClientcreateLogicalInterconnect in interface LogicalInterconnectClientparams - The RestParams is a structure containing the connection details.locationDto - The location for the logical interconnect as seen in HPE OneView.aSync - Flag input to process request asynchronously or synchronously.useJsonRequest - The JsonRequest body is part of LogicalInterconnect object
which takes in a String containing the update to be made,
which is converted to LogicalInterconnect object using adaptor
and processed.TaskResourceV2 containing the task status for the process.public TaskResourceV2 deleteLogicalInterconnect(RestParams params, String enclosureUri, String bay, boolean aSync)
LogicalInterconnectClientdeleteLogicalInterconnect in interface LogicalInterconnectClientparams - The RestParams is a structure containing the connection details.enclosureUri - The enclosure URI as seen in HPE OneView.bay - The bay of the interconnect as seen in HPE OneView.aSync - Flag input to process request asynchronously or synchronously.TaskResourceV2 containing the task status for the process.public TaskResourceV2 updateLogicalInterconnectInternalNetworks(RestParams params, String resourceId, List<String> networkUris)
LogicalInterconnectClientupdateLogicalInterconnectInternalNetworks in interface LogicalInterconnectClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for logical interconnect as seen in HPE OneView.networkUris - A list containing the resource identifiers for logical interconnect
as seen in HPE OneView.TaskResourceV2 containing the task status for the process.public InternalVlanAssociationCollection getLogicalInterconnectInternalVlans(RestParams params, String resourceId)
LogicalInterconnectClientgetLogicalInterconnectInternalVlans in interface LogicalInterconnectClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for logical interconnect as seen in HPE OneView.InternalVlanAssociationCollection containing the internal VLAN associations details.public QosAggregatedConfiguration getLogicalInterconnectQosAggregatedConfiguration(RestParams params, String resourceId)
LogicalInterconnectClientgetLogicalInterconnectQosAggregatedConfiguration in interface LogicalInterconnectClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for logical interconnect as seen in HPE OneView.QosAggregatedConfiguration containing the QoS configuration details.public TaskResourceV2 updateLogicalInterconnectQosAggregatedConfiguration(RestParams params, String resourceId, QosAggregatedConfiguration qosAggregatedConfigurationDto)
LogicalInterconnectClientupdateLogicalInterconnectQosAggregatedConfiguration in interface LogicalInterconnectClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for logical interconnect as seen in HPE OneView.qosAggregatedConfigurationDto - The QoS configuration for logical interconnect as seen in HPE OneView.TaskResourceV2 containing the task status for the process.public TaskResourceV2 updateLogicalInterconnectSettings(RestParams params, String resourceId, InterconnectSettingsV2 interconnectSettings)
LogicalInterconnectClientupdateLogicalInterconnectSettings in interface LogicalInterconnectClientparams - The RestParams is a structure containing the connection details.resourceId - The resource identifier for logical interconnect as seen in HPE OneView.interconnectSettings - The interconnect settings for logical interconnect as seen in HPE OneView.TaskResourceV2 containing the task status for the process.public String getId(RestParams params, String name)
LogicalInterconnectClientgetId in interface LogicalInterconnectClientparams - The RestParams is a structure containing the connection details.name - The name is the logical interconnect name as seen in HPE OneView.Copyright © 2016. All rights reserved.