HewlettPackard / POSH-HPEOneView

PowerShell language bindings library for HPE OneView.
http://hewlettpackard.github.io/POSH-HPEOneView/
125 stars 52 forks source link

[Synergy] : New-OvLogicalInterconnectGroup with -UplinkSet Param : UplinkSet Name = Lig Name #612

Closed odesaphy closed 2 years ago

odesaphy commented 2 years ago

My code :

$uls_eth = New-OvUplinkSet -Name "uls01_ethernet" -Type Ethernet -NetworkSets (Get-OvNetworkSet -Name "my_networkset") -UplinkPorts "Enclosure1:Bay3:Q1", "Enclosure1:Bay3:Q2", "Enclosure2:Bay6:Q1", "Enclosure2:Bay6:Q2" -FecMode Cl91 -PassThru

New-OvLogicalInterconnectGroup -Name "lig36" -FrameCount 2 -InterconnectBaySet 3 -FabricModuleType "SEVC100F32" -DownlinkSpeedMode 50 -Bays @{Frame1 = @{Bay3 = 'SEVC100F32' ; Bay6 = 'SE50ILM'};Frame2 = @{Bay3 = 'SE50ILM'; Bay6 = 'SEVC100F32' }} -FabricRedundancy 'HighlyAvailable' -UplinkSet $uls_eth

LIG "lig36" is created with one Ethernet UplinkSet named "lig36"

image

Tested with POSH 6.30.2928.3678 on a Synergy OV 6.60

The issue is in Function BuildUplinkSet on line 95278

$_UplinkSetObject.name = $Name should be $_UplinkSetObject.name = $Params.Name

ChrisLynchHPE commented 2 years ago

I just published an update to the 6.30 library that should address this issue. Please update to Release 6.30.3188.1900 and in PowerShell Gallery.

Please verify before this issue is closed.

odesaphy commented 2 years ago

Issue is fixed. Thanks a lot.