Skip to content

Commit

Permalink
- [#676] Fixed -Detailed parameter output with Get-OVServerProfile.
Browse files Browse the repository at this point in the history
- [#667] Fixed mishandling of baseline resource object class type.
- Fixed Show-OVFirmwareReport mishandling Synergy compute module resources when calculating compliance.
- Fixed Show-OVFirmwareReport mishandling Synergy management appliance module resources when calculating compliance.

Signed-off-by: Chris Lynch <chris.lynch@hpe.com>
  • Loading branch information
ChrisLynchHPE committed Oct 3, 2024
1 parent 3a23bab commit 69a1866
Show file tree
Hide file tree
Showing 9 changed files with 298 additions and 74 deletions.
10 changes: 6 additions & 4 deletions HPEOneView.900.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'HPEOneView.900.psm1'

# Version number of this module.
ModuleVersion = '9.0.4012.2103'
ModuleVersion = '9.0.4020.1622'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down Expand Up @@ -156,10 +156,12 @@ PrivateData = @{
# IconUri = ''

# ReleaseNotes of this module
ReleaseNotes = 'Release 9.00.4012.2103
ReleaseNotes = 'Release 9.00.4020.1622
- Added Compliance Preview back to Update-OVServerFirmware with -PreviewOnly switch parameter.
- Fixed incorrect handling of server profile resource (assigned and unassigned) with Update-OVServerFirmware.'
- [#676] Fixed -Detailed parameter output with Get-OVServerProfile.
- [#667] Fixed mishandling of baseline resource object class type.
- Fixed Show-OVFirmwareReport mishandling Synergy compute module resources when calculating compliance.
- Fixed Show-OVFirmwareReport mishandling Synergy management appliance module resources when calculating compliance.'

# Prerelease string of this module
# Prerelease = ''
Expand Down
209 changes: 154 additions & 55 deletions HPEOneView.900.psm1

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<SupportedUICultures>
<UICulture>
<UICultureName>en-US</UICultureName>
<UICultureVersion>9.0.4012.2104</UICultureVersion>
<UICultureVersion>9.0.4020.1623</UICultureVersion>
</UICulture>
</SupportedUICultures>
</HelpInfo>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<ModuleInfo>
<ModuleContentURI>http://hewlettpackard.github.io/POSH-HPEOneView/UpdateHelp</ModuleContentURI>
<Version>9.0.4012.2103</Version>
<Version>9.0.4020.1622</Version>
</ModuleInfo>
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The major changes are:

## Build status

AppVeyor 9.10 Branch | AppVeyor 8.60 Branch | AppVeyor 8.40 Branch | AppVeyor 6.60 Branch
AppVeyor 9.10 Branch | AppVeyor 9.00 Branch | AppVeyor 8.60 Branch | AppVeyor 6.60 Branch
-------------------- | -------------------- | -------------------- | --------------------
[![Build status][ov-master-build-status-badge]][ov-master-build-link] [![PS Gallery][ov-master-psgallery-badge]][ov-master-psgallery-link] | [![Build status][ov-minus1-build-status-badge]][ov-minus1-build-link] [![PS Gallery][ov-minus1-psgallery-badge]][ov-minus1-psgallery-link] | [![Build status][ov-minus2-build-status-badge]][ov-minus2-build-link] [![PS Gallery][ov-minus2-psgallery-badge]][ov-minus2-psgallery-link] | [![Build status][ov-minus3-build-status-badge]][ov-minus3-build-link] [![PS Gallery][ov-minus3-psgallery-badge]][ov-minus3-psgallery-link]

Expand Down Expand Up @@ -76,17 +76,17 @@ Still available, but not actively maintained Gitter.im chat room: [![Join the ch
[ov-master-psgallery-badge]: https://img.shields.io/powershellgallery/dt/HPEOneView.910.svg?label=PSGallery
[ov-master-psgallery-link]: https://www.powershellgallery.com/packages/HPEOneView.910

<!-- 8.60 -->
[ov-minus1-build-status-badge]: https://ci.appveyor.com/api/projects/status/qi55u9r618ostv3i?svg=true
[ov-minus1-build-link]: https://ci.appveyor.com/project/ChrisLynchHPE/posh-hpeoneview-4roxn
[ov-minus1-psgallery-badge]: https://img.shields.io/powershellgallery/dt/HPEOneView.860.svg?label=PSGallery
[ov-minus1-psgallery-link]: https://www.powershellgallery.com/packages/HPEOneView.860
<!-- 9.00 -->
[ov-minus1-build-status-badge]: https://ci.appveyor.com/api/projects/status/6eyc2p6xjdjqblq0?svg=true
[ov-minus1-build-link]: https://ci.appveyor.com/project/ChrisLynchHPE/posh-hpeoneview-de9o0
[ov-minus1-psgallery-badge]: https://img.shields.io/powershellgallery/dt/HPEOneView.900.svg?label=PSGallery
[ov-minus1-psgallery-link]: https://www.powershellgallery.com/packages/HPEOneView.900

<!-- 8.40 -->
[ov-minus2-build-status-badge]: https://ci.appveyor.com/api/projects/status/v0fr443ttv7d162q?svg=true
[ov-minus2-build-link]: https://ci.appveyor.com/project/ChrisLynchHPE/posh-hpeoneview-kr9vk
[ov-minus2-psgallery-badge]: https://img.shields.io/powershellgallery/dt/HPEOneView.840.svg?label=PSGallery
[ov-minus2-psgallery-link]: https://www.powershellgallery.com/packages/HPEOneView.840
[ov-minus2-build-status-badge]: https://ci.appveyor.com/api/projects/status/qi55u9r618ostv3i?svg=true
[ov-minus2-build-link]: https://ci.appveyor.com/project/ChrisLynchHPE/posh-hpeoneview-4roxn
[ov-minus2-psgallery-badge]: https://img.shields.io/powershellgallery/dt/HPEOneView.860.svg?label=PSGallery
[ov-minus2-psgallery-link]: https://www.powershellgallery.com/packages/HPEOneView.860

<!-- 6.60 -->
[ov-minus3-build-status-badge]: https://ci.appveyor.com/api/projects/status/a52cr3cdav90ff6q?svg=true
Expand Down
118 changes: 116 additions & 2 deletions Server.format.ps1xml
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@
</View>
<!--Server_Profile_Connections FT-->
<View>
<Name>connections</Name>
<Name>Connections</Name>
<ViewSelectedBy>
<TypeName>HPEOneView.ServerProfile.Connection</TypeName>
</ViewSelectedBy>
Expand Down Expand Up @@ -802,7 +802,121 @@
<PropertyName>functionType</PropertyName>
</TableColumnItem>
<TableColumnItem>
<ScriptBlock>$profileCache[$_.networkUri]</ScriptBlock>
<ScriptBlock>$profileCache[$_.networkUri].name</ScriptBlock>
</TableColumnItem>
<TableColumnItem>
<ScriptBlock>"{0} Gbps" -f ($_.requestedMbps / 1000)</ScriptBlock>
</TableColumnItem>
<TableColumnItem>
<ScriptBlock>"{0} Gbps" -f ($_.maximumMbps / 1000)</ScriptBlock>
</TableColumnItem>
<TableColumnItem>
<ScriptBlock>
$bootSetting = New-Object System.Collections.ArrayList

[void]$bootSetting.Add($_.boot.priority)

if ($_.boot.targets)
{

for ($i=0; $i -eq $boot.targets.count; $i++) { [void]$bootSetting.Add("WWN $($_.boot.targets[$i].arrayWwpn)`nLUN $($_.boot.targets[$i].lun)") }

}

elseif ($_.functionType -eq "FibreChannel" -and -not ($_.boot.priority -eq "NotBootable") -and -not ($_.boot.targets))
{

[void]$bootSetting.Add("(Use Adapter BIOS)")

}

$bootSetting | Out-String | % { $_ -replace '^\s+|\s+$' }
</ScriptBlock>
</TableColumnItem>
<TableColumnItem>
<PropertyName>portId</PropertyName>
</TableColumnItem>
<TableColumnItem>
<ScriptBlock>
$address = New-Object System.Collections.ArrayList

if ($_.macType -eq "Virtual" -and $_.mac) { [void]$address.Add("MAC $($_.mac) (V)") }
elseif ($_.macType -eq "Physical" -and $_.mac) { [void]$address.Add("MAC $($_.mac) (p)") }

if ($_.wwpnType -eq "Virtual" -and $_.wwnn) { [void]$address.Add("WWNN $($_.wwnn) (v)") }
elseif ($_.wwpnType -eq "Physical" -and $_.wwnn) { [void]$address.Add("WWNN $($_.wwnn) (p)") }

if ($_.wwpnType -eq "Virtual" -and $_.wwpn) { [void]$address.Add("WWPN $($_.wwpn) (v)") }
elseif ($_.wwpnType -eq "Physical" -and $_.wwpn) { [void]$address.Add("WWPN $($_.wwpn) (p)") }

$address | Out-String | % { $_ -replace '^\s+|\s+$' }
</ScriptBlock>
</TableColumnItem>
</TableColumnItems>
</TableRowEntry>
</TableRowEntries>
</TableControl>
</View>
<!--Server_Profile_LocalStorage.Controller FT-->
<View>
<Name>Controller</Name>
<ViewSelectedBy>
<TypeName>HPEOneView.ServerProfile.LocalStorage.Controller</TypeName>
</ViewSelectedBy>
<TableControl>
<TableHeaders>
<TableColumnHeader>
<Label>ID</Label>
<Width>2</Width>
<Alignment>Left</Alignment>
</TableColumnHeader>
<TableColumnHeader>
<Label>Type</Label>
<Width>12</Width>
<Alignment>Left</Alignment>
</TableColumnHeader>
<TableColumnHeader>
<Label>Network</Label>
<Width>30</Width>
<Alignment>Left</Alignment>
</TableColumnHeader>
<TableColumnHeader>
<Label>RequestedBW</Label>
<Width>12</Width>
<Alignment>Left</Alignment>
</TableColumnHeader>
<TableColumnHeader>
<Label>MaximumBW</Label>
<Width>10</Width>
<Alignment>Left</Alignment>
</TableColumnHeader>
<TableColumnHeader>
<Label>Boot</Label>
<Width>20</Width>
<Alignment>Left</Alignment>
</TableColumnHeader>
<TableColumnHeader>
<Label>PortID</Label>
<Width>10</Width>
<Alignment>Left</Alignment>
</TableColumnHeader>
<TableColumnHeader>
<Label>Address</Label>
<Width>32</Width>
<Alignment>Left</Alignment>
</TableColumnHeader>
</TableHeaders>
<TableRowEntries>
<TableRowEntry>
<TableColumnItems>
<TableColumnItem>
<PropertyName>id</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>functionType</PropertyName>
</TableColumnItem>
<TableColumnItem>
<ScriptBlock>$profileCache[$_.networkUri].name</ScriptBlock>
</TableColumnItem>
<TableColumnItem>
<ScriptBlock>"{0} Gbps" -f ($_.requestedMbps / 1000)</ScriptBlock>
Expand Down
2 changes: 1 addition & 1 deletion en-US/HPEOneView.900.psm1-help.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110244,5 +110244,5 @@ Once the task enters the running state, the Cmdlet will return the task resource
</maml:navigationLink>
</maml:relatedLinks>
</command:command>
<!--Edited on: 2024-09-26T04:28:27:87.878Z-->
<!--Edited on: 2024-10-03T18:13:50:93.930Z-->
</helpItems>
Expand Down
9 changes: 9 additions & 0 deletions en-US/about_HPEOneView.900.help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@ SHORT DESCRIPTION

WHAT'S NEW

Release 9.00.4020.1622

-- [#676] Fixed -Detailed parameter output with Get-OVServerProfile.
-- [#667] Fixed mishandling of baseline resource object class type.
-- Fixed Show-OVFirmwareReport mishandling Synergy compute module resources when
calculating compliance.
-- Fixed Show-OVFirmwareReport mishandling Synergy management appliance module
resources when calculating compliance.

Release 9.00.4012.2103

-- Added Compliance Preview back to Update-OVServerFirmware with -PreviewOnly
Expand Down
Binary file modified lib/HPEOneView_Classes.dll
Binary file not shown.

0 comments on commit 69a1866

Please sign in to comment.