Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/HewlettPackard/POSH-HPEOneView/llms.txt

Use this file to discover all available pages before exploring further.

Synopsis

Retrieves one or more logical interconnect resources from the connected HPE OneView appliance.

Syntax

Get-OVLogicalInterconnect
    [-Name <String>]
    [-NonCompliant]
    [-Label <String>]
    [-Scope <Object>]
    [-Export <String>]
    [-ApplianceConnection <Object>]
    [<CommonParameters>]

Description

Get-OVLogicalInterconnect retrieves logical interconnect (LI) resources from HPE OneView. A logical interconnect represents the configured state of the interconnect modules installed in one or more enclosure bays. It is created automatically when an enclosure is added to an enclosure group that references a Logical Interconnect Group (LIG). The logical interconnect tracks whether its current configuration matches the governing LIG. Use the -NonCompliant switch to identify logical interconnects that have drifted from their LIG template. Logical interconnect objects are used as input to New-OVUplinkSet and other networking cmdlets.

Parameters

Name
String
The name of the logical interconnect to retrieve. When omitted, all logical interconnects are returned.
NonCompliant
Switch
Return only logical interconnects whose current configuration does not match their governing Logical Interconnect Group.
Label
String
Filter results by a resource label assigned to the logical interconnect.
Scope
Object
Filter results to resources that belong to the specified scope. Defaults to AllResourcesInScope.
Export
String
Path to a JSON file where the retrieved logical interconnect objects will be exported.
ApplianceConnection
Object
The appliance connection object or name. Defaults to the default connected session.

Examples

Return all logical interconnects

Get-OVLogicalInterconnect

Return a specific logical interconnect by name

Get-OVLogicalInterconnect -Name "Enclosure1-LIG"

Find logical interconnects that are out of compliance

Get-OVLogicalInterconnect -NonCompliant

Get a logical interconnect and pipe it to New-OVUplinkSet

$li = Get-OVLogicalInterconnect -Name "Enclosure1-LIG"
$li | New-OVUplinkSet -Name "Uplink-Eth" -Type Ethernet -Networks $nets -UplinkPorts "BAY1:X4","BAY1:X5"

Export logical interconnect data to a file

Get-OVLogicalInterconnect -Export "C:\Reports\logical-interconnects.json"

Output

HPEOneView.Networking.LogicalInterconnect objects.

Build docs developers (and LLMs) love