Skip to content

Commit

Permalink
- [#534] Fixed Show-HPOVFirmwareReport where Cmdlet would mishandle e…
Browse files Browse the repository at this point in the history
…nclosure resources without a baseline assigned and no baseline object provided by caller would generate an exception.

- [#539] Fixed New-HPOVSnmpTrapDestination and the object it returns.
- [#540] Fixed New-HPOVSnmpTrapDestination to handle SNMPv3 Engine ID correctly.
- [#548] Fixed Enable-OHPVDeviceUid and Disable-OVDeviceUid where a resource eTag wasn't being passed to the API for Synergy Frames.
- Added Get-HPOVSmtpAlertEmailFilter, Set-HPOVSmtpAlertEmailFilter and Remove-HPOVSmtpAlertEmailFilter Cmdlets to manage email/SMTP alert filtering.
- Fixed New-HPOVServerProfileTemplate mishandling async task in an error state containing more than one taskError message.

Signed-off-by: Chris Lynch <chris.lynch@hpe.com>
  • Loading branch information
ChrisLynchHPE committed Feb 8, 2021
1 parent a3cb8a3 commit 1fee8b1
Show file tree
Hide file tree
Showing 27 changed files with 6,284 additions and 3,943 deletions.
100 changes: 73 additions & 27 deletions Appliance.format.ps1xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<TypeName>HPOneView.PowerDeliveryDevice.PduAcModule</TypeName>
<TypeName>HPOneView.PowerDeliveryDevice.LoadSegment</TypeName>
<TypeName>HPOneView.PowerDeliveryDevice.OutletBar</TypeName>
<TypeName>HPOneView.PowerDeliveryDevice.Outlet</TypeName>
<TypeName>HPOneView.PowerDeliveryDevice.Outlet</TypeName>
</Types>
</SelectionSet>
</SelectionSets>
Expand Down Expand Up @@ -210,7 +210,7 @@
</TableRowEntry>
</TableRowEntries>
</TableControl>
</View>
</View>
<!--ComposerNode FT-->
<View>
<Name>ComposerNode</Name>
Expand Down Expand Up @@ -784,7 +784,7 @@
</TableRowEntry>
</TableRowEntries>
</TableControl>
</View>
</View>
<!--HPOneView.Appliance.RemoteSupport.Partner FT-->
<View>
<Name>RemoteSupportPartner</Name>
Expand Down Expand Up @@ -861,23 +861,23 @@
<TableColumnHeader>
<Label>Name</Label>
<Alignment>Left</Alignment>
</TableColumnHeader>
</TableColumnHeader>
<TableColumnHeader>
<Label>AliasName</Label>
<Alignment>Left</Alignment>
</TableColumnHeader>
</TableColumnHeader>
<TableColumnHeader>
<Label>CertificateStatus</Label>
<Alignment>Left</Alignment>
</TableColumnHeader>
</TableColumnHeader>
<TableColumnHeader>
<Label>ValidFrom</Label>
<Alignment>Left</Alignment>
</TableColumnHeader>
</TableColumnHeader>
<TableColumnHeader>
<Label>ValidUntil</Label>
<Alignment>Left</Alignment>
</TableColumnHeader>
</TableColumnHeader>
</TableHeaders>
<TableRowEntries>
<TableRowEntry>
Expand Down Expand Up @@ -918,23 +918,23 @@
<TableColumnHeader>
<Label>Name</Label>
<Alignment>Left</Alignment>
</TableColumnHeader>
</TableColumnHeader>
<TableColumnHeader>
<Label>Status</Label>
<Alignment>Left</Alignment>
</TableColumnHeader>
</TableColumnHeader>
<TableColumnHeader>
<Label>CRLInfo</Label>
<Alignment>Left</Alignment>
</TableColumnHeader>
</TableColumnHeader>
<TableColumnHeader>
<Label>ValidFrom</Label>
<Alignment>Left</Alignment>
</TableColumnHeader>
</TableColumnHeader>
<TableColumnHeader>
<Label>ValidUntil</Label>
<Alignment>Left</Alignment>
</TableColumnHeader>
</TableColumnHeader>
</TableHeaders>
<TableRowEntries>
<TableRowEntry>
Expand All @@ -958,7 +958,7 @@
</TableRowEntry>
</TableRowEntries>
</TableControl>
</View>
</View>
<!--HPOneView.Appliance.RemoteSupport.Schedule FT-->
<View>
<Name>RemoteSupportSchedule</Name>
Expand All @@ -971,7 +971,7 @@
<TableColumnHeader>
<Label>ScheduleName</Label>
<Alignment>Left</Alignment>
</TableColumnHeader>
</TableColumnHeader>
<TableColumnHeader>
<Label>RepeatOption</Label>
<Alignment>Left</Alignment>
Expand Down Expand Up @@ -1085,7 +1085,7 @@
</TableRowEntry>
</TableRowEntries>
</TableControl>
</View>
</View>
<!--APPLIANCE_SMTPALERTS-->
<View>
<Name>SmtpConfigurationObject</Name>
Expand Down Expand Up @@ -1352,7 +1352,7 @@
</ListEntry>
</ListEntries>
</ListControl>
</View>
</View>
<!--APPLIANCE_USER_ROLES FT-->
<View>
<Name>UserRole</Name>
Expand All @@ -1377,7 +1377,7 @@
</TableRowEntry>
</TableRowEntries>
</TableControl>
</View>
</View>
<!--APPLIANCEUSER FT-->
<View>
<Name>User</Name>
Expand Down Expand Up @@ -1437,7 +1437,7 @@
</TableRowEntry>
</TableRowEntries>
</TableControl>
</View>
</View>
<!--ConnectionPermission FT-->
<View>
<Name>ConnectionPermission</Name>
Expand Down Expand Up @@ -1476,7 +1476,7 @@
</TableRowEntry>
</TableRowEntries>
</TableControl>
</View>
</View>
<!--AuthGlobalDirectoryConfiguration FT-->
<View>
<Name>AuthGlobalDirectoryConfiguration</Name>
Expand Down Expand Up @@ -1529,7 +1529,7 @@
</TableRowEntry>
</TableRowEntries>
</TableControl>
</View>
</View>
<!--AuthDirectory FT-->
<View>
<Name>AuthDirectory</Name>
Expand Down Expand Up @@ -2450,7 +2450,7 @@
<TableColumnItem>
<ScriptBlock>
if ($null -ne $_.subnetMask) { $_.subnetMask }
else { $_.prefixLength}
else { $_.prefixLength}
</ScriptBlock>
</TableColumnItem>
<TableColumnItem>
Expand Down Expand Up @@ -2495,7 +2495,7 @@
<Label>SubnetMask</Label>
<ScriptBlock>
if ($null -ne $_.subnetMask) { $_.subnetMask }
else { $_.prefixLength}
else { $_.prefixLength}
</ScriptBlock>
</ListItem>
<ListItem>
Expand Down Expand Up @@ -3332,7 +3332,7 @@
</ListEntry>
</ListEntries>
</ListControl>
</View>
</View>
<!--HPOneView.Appliance.OsDeploymentPlan FT-->
<View>
<Name>OsDeploymentPlan</Name>
Expand Down Expand Up @@ -3458,7 +3458,7 @@
<TableColumnHeader>
<Label>DefaultPowerLineVoltage</Label>
<Alignment>Left</Alignment>
</TableColumnHeader>
</TableColumnHeader>
<TableColumnHeader>
<Label>RemoteSupportLocation</Label>
<Alignment>Left</Alignment>
Expand Down Expand Up @@ -3580,11 +3580,11 @@
<TableColumnHeader>
<Label>PostalCode</Label>
<Alignment>Left</Alignment>
</TableColumnHeader>
</TableColumnHeader>
<TableColumnHeader>
<Label>CountryCode</Label>
<Alignment>Left</Alignment>
</TableColumnHeader>
</TableColumnHeader>
<TableColumnHeader>
<Label>TimeZone</Label>
<Alignment>Left</Alignment>
Expand Down Expand Up @@ -4675,5 +4675,51 @@
</TableRowEntries>
</TableControl>
</View>
<!--HPOneView.Appliance.AlertEmailFilter FT-->
<View>
<Name>AlertEmailFilter</Name>
<ViewSelectedBy>
<TypeName>HPOneView.Appliance.AlertEmailFilter</TypeName>
</ViewSelectedBy>
<TableControl>
<AutoSize/>
<TableHeaders>
<TableColumnHeader>
<Label>Name</Label>
<Alignment>Left</Alignment>
</TableColumnHeader>
<TableColumnHeader>
<Label>Disabled</Label>
<Alignment>Left</Alignment>
</TableColumnHeader>
<TableColumnHeader>
<Label>DisplayFilter</Label>
<Alignment>Left</Alignment>
</TableColumnHeader>
<TableColumnHeader>
<Label>Emails</Label>
<Alignment>Left</Alignment>
</TableColumnHeader>
</TableHeaders>
<TableRowEntries>
<TableRowEntry>
<TableColumnItems>
<TableColumnItem>
<PropertyName>filterName</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>disabled</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>displayFilter</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>emails</PropertyName>
</TableColumnItem>
</TableColumnItems>
</TableRowEntry>
</TableRowEntries>
</TableControl>
</View>
</ViewDefinitions>
</Configuration>
26 changes: 10 additions & 16 deletions HPOneView.500.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'HPOneView.500.psm1';

# Version number of this module.;
ModuleVersion = '5.0.2597.2846'
ModuleVersion = '5.0.2685.1865'

# ID used to uniquely identify this module
GUID = '39a18995-ec04-422b-a972-1c4b3f8cebe7';
Expand All @@ -24,7 +24,7 @@ Author = 'Hewlett-Packard Enterprise';
CompanyName = 'Hewlett-Packard Enterprise';

# Copyright statement for this module
Copyright = ' (C) Copyright 2013-2020 Hewlett Packard Enterprise Development LP
Copyright = ' (C) Copyright 2013-2021 Hewlett Packard Enterprise Development LP
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -124,20 +124,14 @@ PrivateData = @{
LicenseUri = '/~https://github.com/HewlettPackard/POSH-HPOneView/blob/master/LICENSE';
ProjectUri = 'http://hewlettpackard.github.io/POSH-HPOneView';
IconUri = '';
ReleaseNotes = "Release 5.00.2597.2846
- Updated New-HPOVNetworkSet to no longer require -Networks parameter.
- Fixed New-HPOVSnmpV3User where paraeter validation logic was incorrect when providing the -AuthPassword parameter with -SecurityLevel to 'AuthOnly'.
- Fixed issue with Install-HPOVUpdate not hanlding error conditions from the API correctly.
- [#509] Fixed New-HPOVServerProfileTemplate and New-HPOVServerProfile where each Cmdlet would not handle TargetAddress parameter correctly.
- [#511] Enhanced New-HPOVServerProfileLogicalDisk to support permanent logical JBODs when assigned to server profile templates and server profiles.
- Enhanced Install-HPOVLogicalInterconnectFirmware to support Orchestrated firmware installation for HPE Synergy Virtual Connect fabrics.
- Enhanced Install-HPOVLogicalInterconnectFirmware to support HPE Synergy Orchestrated activation, and HPE SAS logical interconnect type.
- [#512] Enhanced Set-HPOVUplinkSet by adding -AddNetworkSet and -RemoveNetworkSet parameters.
- [#513] Enhanced New-HPOVServerProfileConnection to support Unassigned network connections.
- [#514] Enhanced ConvertTo-HPOVPowerShellScript to handle unassign network connections.
- [#515] Enhanced New-HPOVNetwork to include the ability to create bulk Ethernet networks and associate with one or more existing Network Sets.
- [#517] Enhanced Wait-HPOVTaskComplete to only display 'Appliance is rebooting' message once, if the appliance requires a reboot for a task (ex. Set-HPOVApplianceCurrentSecurityMode)."
ReleaseNotes = "Release 5.00.2685.1865
- [#534] Fixed Show-HPOVFirmwareReport where Cmdlet would mishandle enclosure resources without a baseline assigned and no baseline object provided by caller would generate an exception.
- [#539] Fixed New-HPOVSnmpTrapDestination and the object it returns.
- [#540] Fixed New-HPOVSnmpTrapDestination to handle SNMPv3 Engine ID correctly.
- [#548] Fixed Enable-OHPVDeviceUid and Disable-OVDeviceUid where a resource eTag wasn't being passed to the API for Synergy Frames.
- Added Get-HPOVSmtpAlertEmailFilter, Set-HPOVSmtpAlertEmailFilter and Remove-HPOVSmtpAlertEmailFilter Cmdlets to manage email/SMTP alert filtering.
- Fixed New-HPOVServerProfileTemplate mishandling async task in an error state containing more than one taskError message."

};

Expand Down
Loading

5 comments on commit 1fee8b1

@ChrisLynchHPE
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tagging #543

@ChrisLynchHPE
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tagging #528

@ChrisLynchHPE
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tagging #525

@ChrisLynchHPE
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tagging #521

@ChrisLynchHPE
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tagging #518

Please sign in to comment.