HewlettPackard / POSH-HPEOneView

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

get-OvServerProfileConnectionList not showing user defined WWPN #556

Closed uzimmermann42 closed 2 years ago

uzimmermann42 commented 3 years ago

We have 3 profiles on this appliance with FCoE/FibreChannel connections. One profile has user defined WWPN due to testing. The command doesn't show those

Expected Behavior

PS C:\Users\ulfdc> Get-OVServerProfileConnectionList

ServerProfile  ID PortID     Type         Network     MAC                   WWPN                        Boot        ArrayTarget LUN
-------------  -- ------     ----         -------     ---                   ----                        ----        ----------- ---
engp-sql3-01-b 1  Mezz 3:1-a Ethernet     net-tun-01b 26:E0:E7:70:00:25 (V)                             NotBootable
engp-sql3-01-b 2  Mezz 3:2-a Ethernet     net-tun-01b 26:E0:E7:70:00:26 (V)                             NotBootable
engp-sql3-01-b 3  Mezz 3:1-b FibreChannel vsan10b     26:E0:E7:70:00:27 (V) 10:00:3A:C7:8A:00:00:1C (U)                             NotBootable
engp-sql3-01-b 4  Mezz 3:2-b FibreChannel vsan20b     26:E0:E7:70:00:28 (V) 10:00:3A:C7:8A:00:00:1E (U)                            NotBootable
PROD-SQL4-03-B 1  Mezz 3:1-a Ethernet     net-tun-01b 26:E0:E7:70:00:01 (V)                             NotBootable
PROD-SQL4-03-B 2  Mezz 3:2-a Ethernet     net-tun-01b 26:E0:E7:70:00:02 (V)                             NotBootable
PROD-SQL4-03-B 3  Mezz 3:1-b FibreChannel vsan10b     26:E0:E7:70:00:03 (V) 10:00:3A:C7:8A:00:00:00 (V) NotBootable
PROD-SQL4-03-B 4  Mezz 3:2-b FibreChannel vsan20b     26:E0:E7:70:00:04 (V) 10:00:3A:C7:8A:00:00:02 (V) NotBootable
PROD-SQL4-03-B 5  Mezz 6:1-b FibreChannel vsan10b     26:E0:E7:70:00:05 (V) 10:00:3A:C7:8A:00:00:04 (V) NotBootable
PROD-SQL4-03-B 6  Mezz 6:2-b FibreChannel vsan20b     26:E0:E7:70:00:06 (V) 10:00:3A:C7:8A:00:00:06 (V) NotBootable
PROD-SQL4-03-B 7  Mezz 6:1-a Ethernet     net-tun-01b 26:E0:E7:70:00:07 (V)                             NotBootable
PROD-SQL4-03-B 8  Mezz 6:2-a Ethernet     net-tun-01b 26:E0:E7:70:00:08 (V)                             NotBootable
SUPP-SQL3-01-B 1  Mezz 3:1-a Ethernet     net-tun-01b 26:E0:E7:70:00:09 (V)                             NotBootable
SUPP-SQL3-01-B 2  Mezz 3:2-a Ethernet     net-tun-01b 26:E0:E7:70:00:0A (V)                             NotBootable
SUPP-SQL3-01-B 3  Mezz 3:1-b FibreChannel vsan10b     26:E0:E7:70:00:0B (V) 10:00:3A:C7:8A:00:00:08 (V) NotBootable
SUPP-SQL3-01-B 4  Mezz 3:2-b FibreChannel vsan20b     26:E0:E7:70:00:0C (V) 10:00:3A:C7:8A:00:00:0A (V) NotBootable

Actual Behavior

PS C:\Users\ulfdc> Get-OVServerProfileConnectionList

ServerProfile  ID PortID     Type         Network     MAC                   WWPN                        Boot        ArrayTarget LUN
-------------  -- ------     ----         -------     ---                   ----                        ----        ----------- ---
engp-sql3-01-b 1  Mezz 3:1-a Ethernet     net-tun-01b 26:E0:E7:70:00:25 (V)                             NotBootable
engp-sql3-01-b 2  Mezz 3:2-a Ethernet     net-tun-01b 26:E0:E7:70:00:26 (V)                             NotBootable
engp-sql3-01-b 3  Mezz 3:1-b FibreChannel vsan10b     26:E0:E7:70:00:27 (V)                             NotBootable
engp-sql3-01-b 4  Mezz 3:2-b FibreChannel vsan20b     26:E0:E7:70:00:28 (V)                             NotBootable
PROD-SQL4-03-B 1  Mezz 3:1-a Ethernet     net-tun-01b 26:E0:E7:70:00:01 (V)                             NotBootable
PROD-SQL4-03-B 2  Mezz 3:2-a Ethernet     net-tun-01b 26:E0:E7:70:00:02 (V)                             NotBootable
PROD-SQL4-03-B 3  Mezz 3:1-b FibreChannel vsan10b     26:E0:E7:70:00:03 (V) 10:00:3A:C7:8A:00:00:00 (V) NotBootable
PROD-SQL4-03-B 4  Mezz 3:2-b FibreChannel vsan20b     26:E0:E7:70:00:04 (V) 10:00:3A:C7:8A:00:00:02 (V) NotBootable
PROD-SQL4-03-B 5  Mezz 6:1-b FibreChannel vsan10b     26:E0:E7:70:00:05 (V) 10:00:3A:C7:8A:00:00:04 (V) NotBootable
PROD-SQL4-03-B 6  Mezz 6:2-b FibreChannel vsan20b     26:E0:E7:70:00:06 (V) 10:00:3A:C7:8A:00:00:06 (V) NotBootable
PROD-SQL4-03-B 7  Mezz 6:1-a Ethernet     net-tun-01b 26:E0:E7:70:00:07 (V)                             NotBootable
PROD-SQL4-03-B 8  Mezz 6:2-a Ethernet     net-tun-01b 26:E0:E7:70:00:08 (V)                             NotBootable
SUPP-SQL3-01-B 1  Mezz 3:1-a Ethernet     net-tun-01b 26:E0:E7:70:00:09 (V)                             NotBootable
SUPP-SQL3-01-B 2  Mezz 3:2-a Ethernet     net-tun-01b 26:E0:E7:70:00:0A (V)                             NotBootable
SUPP-SQL3-01-B 3  Mezz 3:1-b FibreChannel vsan10b     26:E0:E7:70:00:0B (V) 10:00:3A:C7:8A:00:00:08 (V) NotBootable
SUPP-SQL3-01-B 4  Mezz 3:2-b FibreChannel vsan20b     26:E0:E7:70:00:0C (V) 10:00:3A:C7:8A:00:00:0A (V) NotBootable

Steps to reproduce

See above.

Version Information

HPE OneView PowerShell Library Version (Get-HPOVVersion or $PSLibraryVersion): 5.50.2591.2980 HPE OneView Appliance Version (Get-HPOVVersion -ApplianceVer): 5.60.00.429839.00 Output from $PSVersionTable on your Windows Host:

PS C:\Users\ulfdc> $PSVersionTable

Name Value


PSVersion 5.1.14393.3866 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.14393.3866 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1

ChrisLynchHPE commented 3 years ago

This is actually missing logic in the associated Server.format.ps1xml file. This will be fixed in the next library update.

ChrisLynchHPE commented 2 years ago

Closing due to no further activity. If you wish, feel free to re-open to discuss further.