Skip to content

Commit

Permalink
* Refactored Disconnect-HPOVMgmt to support pipeline and multiple obj…
Browse files Browse the repository at this point in the history
…ect input.

* Fixed New-HPOVServerProfile mishandling Gen10 boot mode, when setting UEFI or UEFI Optimized.
* Fixed New-HPOVServerProfile mishandling Gen10 storage controller mode.
* Updated New-HPOVServerProfileLogicalDiskController to support write cache policy with Gen10 controllers.
* [#343] Fixed Networking.format.ps1xml with missing Hostname parameter when displaying interconnect downlink port information.
* [#366] Fixed New-HPOVLdapGroup where invalid directory group CN validation error was malformed.
* [#341] Added Set-HPOVEnclosureGroup to support updating c-Class enclosure scripts.
* [#334] Updated New-HPOVServerProfileTemplate where -ManageBoot:$false was not being honored correctly. Changed -ManagedBoot from SwitchParameter to Boolean type.
* [#361] Fixed Invoke-HPOVVcmMigration parameters, making the original, unsecure parameters optional.
* [#363] Fixed Show-HPOVFirmwareReport regression with supporting Enclosure Group and Enclosure resources.
* [#366] Fixed New-HPOVLdapGroup where -Group validation would not process correctly when providing a String value.
  • Loading branch information
ChrisLynchHPE committed Sep 27, 2018
1 parent feab83a commit 1a1bdc3
Show file tree
Hide file tree
Showing 9 changed files with 940 additions and 444 deletions.
20 changes: 14 additions & 6 deletions HPOneView.410.psd1
Expand Up @@ -27,7 +27,7 @@ THE SOFTWARE.
RootModule = 'HPOneView.410.psm1'

# Version number of this module.
ModuleVersion = '4.10.1809.2203'
ModuleVersion = '4.10.1821.1567'

# ID used to uniquely identify this module
GUID = '2c99a71e-361b-4ec0-b168-060eac70561d'
Expand Down Expand Up @@ -123,11 +123,19 @@ THE SOFTWARE.
LicenseUri = 'https://github.com/HewlettPackard/POSH-HPOneView/blob/master/LICENSE';
ProjectUri = 'http://hewlettpackard.github.io/POSH-HPOneView';
IconUri = '';
ReleaseNotes = 'Release 4.10.1809.2203
* Updated HPOneView.Appliance.Baseline+FwComponent class to support hanlding non-semantic version strings.
* Added increased timeout for Send-HPOVRequest (RestClient).
* Added telemetry support to measure and record HTTP response times from client to appliance.'
ReleaseNotes = 'Release 4.10.1821.1567
* Refactored Disconnect-HPOVMgmt to support pipeline and multiple object input.
* Fixed New-HPOVServerProfile mishandling Gen10 boot mode, when setting UEFI or UEFI Optimized.
* Fixed New-HPOVServerProfile mishandling Gen10 storage controller mode.
* Updated New-HPOVServerProfileLogicalDiskController to support write cache policy with Gen10 controllers.
* Fixed Networking.format.ps1xml with missing Hostname parameter when displaying interconnect downlink port information.
* Fixed New-HPOVLdapGroup where invalid directory group CN validation error was malformed.
* Added Set-HPOVEnclosureGroup to support updating c-Class enclosure scripts.
* Updated New-HPOVServerProfileTemplate where -ManageBoot:$false was not being honored correctly. Changed -ManagedBoot from SwitchParameter to Boolean type.
* Fixed Invoke-HPOVVcmMigration parameters, making the original, unsecure parameters optional.
* Fixed Show-HPOVFirmwareReport regression with supporting Enclosure Group and Enclosure resources.
* Fixed New-HPOVLdapGroup where -Group validation would not process correctly when providing a String value.'

}

Expand Down
805 changes: 514 additions & 291 deletions HPOneView.410.psm1

Large diffs are not rendered by default.

Expand Up @@ -4,7 +4,7 @@
<SupportedUICultures>
<UICulture>
<UICultureName>en-US</UICultureName>
<UICultureVersion>4.10.1809.2203</UICultureVersion>
<UICultureVersion>4.10.1821.1569</UICultureVersion>
</UICulture>
</SupportedUICultures>
</HelpInfo>
3 changes: 2 additions & 1 deletion Networking.format.ps1xml
Expand Up @@ -1857,6 +1857,7 @@
<ScriptBlock>

$interconnectUri = $Null
$ApplianceConnection = $_.ApplianceConnection.Name
$downlinkPort = $_.portName -replace "d",""

$portUri = $_.uri -split "/"
Expand All @@ -1866,7 +1867,7 @@

$interconnectIndexCollection = Send-HPOVRequest "/rest/index/associations?childUri=$interconnectUri&amp;name=BLADE_TO_INTERCONNECT" -Hostname $_.ApplianceConnection.Name

$sh = ($interconnectIndexCollection.members.parentUri | % { Send-HPOVRequest $_ })
$sh = ($interconnectIndexCollection.members.parentUri | % { Send-HPOVRequest $_ -Hostname $ApplianceConnection })

$deviceSlotDisplayHash = @{

Expand Down
88 changes: 3 additions & 85 deletions README.md
@@ -1,7 +1,7 @@

AppVeyor 3.10 Branch | AppVeyor 4.00 Branch | AppVeyor 4.10 Branch
AppVeyor 3.00 Branch | AppVeyor 3.10 Branch | AppVeyor 4.00 Branch
-------------------- | -------------------- | ---------------------
[![Build status](https://ci.appveyor.com/api/projects/status/7aeeipw70yo0gbcm/branch/3.10?svg=true)](https://ci.appveyor.com/project/ChrisLynchHPE/posh-hponeview-34esg/branch/3.10) | [![Build status](https://ci.appveyor.com/api/projects/status/n4btdae2oaua0bra/branch/4.00?svg=true)](https://ci.appveyor.com/project/ChrisLynchHPE/posh-hponeview-cskif/branch/4.00) | [![Build status](https://ci.appveyor.com/api/projects/status/ubd52rrmholhuuwa/branch/4.10?svg=true)](https://ci.appveyor.com/project/ChrisLynchHPE/posh-hponeview-0fpb0/branch/4.10)
[![Build status](https://ci.appveyor.com/api/projects/status/n1mk2r2lpa1sdxxw/branch/3.00?svg=true)](https://ci.appveyor.com/project/ChrisLynchHPE/posh-hponeview/branch/3.00) | [![Build status](https://ci.appveyor.com/api/projects/status/7aeeipw70yo0gbcm?svg=true)](https://ci.appveyor.com/project/ChrisLynchHPE/posh-hponeview-34esg) | [![Build status](https://ci.appveyor.com/api/projects/status/n4btdae2oaua0bra/branch/4.00?svg=true)](https://ci.appveyor.com/project/ChrisLynchHPE/posh-hponeview-cskif/branch/4.00)


POSH-HPOneView
Expand All @@ -11,86 +11,4 @@ This library provides a pure Windows PowerShell interface to the HPE OneView RES

HPE OneView is a fresh approach to converged infrastructure management, inspired by the way you expect to work, with a single integrated view of your IT infrastructure.

This PowerShell project is developed for those that want to automate tasks within HPE OneView or use PowerShell as a CLI for HPE OneView operations.

## Contributing and feature requests

The best way to directly collaborate with the project contributors is through GitHub: <https://github.com/HewlettPackard/oneview-python-samples>

* If you want to contribute to our code by either fixing a problem or creating a new feature, please open a GitHub pull request.
* If you want to raise an issue such as a defect, an enhancement request or a general issue, please open a GitHub issue.

Before you start to code, we recommend discussing your plans through a GitHub issue, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.

Note that all patches from all contributors get reviewed.
After a pull request is made, other contributors will offer feedback. If the patch passes review, a maintainer will accept it with a comment.
When a pull request fails review, the author is expected to update the pull request to address the issue until it passes review and the pull request merges successfully.

At least one review from a maintainer is required for all patches.

### Developer's Certificate of Origin

All contributions must include acceptance of the DCO:

> Developer Certificate of Origin Version 1.1
>
> Copyright (C) 2004, 2006 The Linux Foundation and its contributors. 660
> York Street, Suite 102, San Francisco, CA 94110 USA
>
> Everyone is permitted to copy and distribute verbatim copies of this
> license document, but changing it is not allowed.
>
> Developer's Certificate of Origin 1.1
>
> By making a contribution to this project, I certify that:
>
> \(a) The contribution was created in whole or in part by me and I have
> the right to submit it under the open source license indicated in the
> file; or
>
> \(b) The contribution is based upon previous work that, to the best of my
> knowledge, is covered under an appropriate open source license and I
> have the right under that license to submit that work with
> modifications, whether created in whole or in part by me, under the same
> open source license (unless I am permitted to submit under a different
> license), as indicated in the file; or
>
> \(c) The contribution was provided directly to me by some other person
> who certified (a), (b) or (c) and I have not modified it.
>
> \(d) I understand and agree that this project and the contribution are
> public and that a record of the contribution (including all personal
> information I submit with it, including my sign-off) is maintained
> indefinitely and may be redistributed consistent with this project or
> the open source license(s) involved.
### Sign your work

To accept the DCO, simply add this line to each commit message with your
name and email address (git commit -s will do this for you):

Signed-off-by: Jane Example <jane@example.com>

For legal reasons, no anonymous or pseudonymous contributions are
accepted.

## Submitting Code Pull Requests

We encourage and support contributions from the community. No fix is too
small. We strive to process all pull requests as soon as possible and
with constructive feedback. If your pull request is not accepted at
first, please try again after addressing the feedback you received.

To make a pull request you will need a GitHub account. For help, see
GitHub's documentation on forking and pull requests.

**Feature Requests:** If you have a need that is not met by the current implementation, please let us know (via a new issue).
This feedback is crucial for us to deliver a useful community experience. Do not assume that we have already thought of everything, because we assure you that is not the case.

## Naming convention

Please follow the scripting languages standard practices for naming conventions. For instance, with PowerShell, please use approved Verbs Microsoft has defined.

## Testing

This repository is setup to perform regression testing using Appveyor CI pipeline. This project utilizes the Pester testing framework for unit tests. When submitting a Pull Request, 1 or more unit tests should be provided. If one is not provided, the maintainers of the repository will assist in creating supporting unit tests.
This PowerShell project is developed for those that want to automate tasks within HPE OneView or use PowerShell as a CLI for HPE OneView operations. To get support with the library, please use the project Issue Tracker.
8 changes: 4 additions & 4 deletions Server.format.ps1xml
Expand Up @@ -1500,9 +1500,9 @@
</View>
<!-- HPOneView.ServerHardware+Firmware FT-->
<View>
<Name>ServerHardware+Firmware</Name>
<Name>Servers+Firmware</Name>
<ViewSelectedBy>
<TypeName>HPOneView.ServerHardware+Firmware</TypeName>
<TypeName>HPOneView.Servers.ServerHardware+Firmware</TypeName>
</ViewSelectedBy>
<GroupBy>
<PropertyName>Name</PropertyName>
Expand Down Expand Up @@ -1556,11 +1556,11 @@
</TableRowEntries>
</TableControl>
</View>
<!-- HPOneView.Enclosure+Firmware FT-->
<!-- HPOneView.Servers.Enclosure+Firmware FT-->
<View>
<Name>Enclosure+Firmware</Name>
<ViewSelectedBy>
<TypeName>HPOneView.Enclosure+Firmware</TypeName>
<TypeName>HPOneView.Servers.Enclosure+Firmware</TypeName>
</ViewSelectedBy>
<GroupBy>
<PropertyName>Name</PropertyName>
Expand Down

1 comment on commit 1a1bdc3

@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 #320

Please sign in to comment.