All Projects → HewlettPackard → POSH-HPEOneView

HewlettPackard / POSH-HPEOneView

Licence: other
PowerShell language bindings library for HPE OneView.

Programming Languages

powershell
5483 projects

Projects that are alternatives of or similar to POSH-HPEOneView

oneview-sdk-ruby
This project is no longer being developed and has limited support. In the near future this repository will be fully deprecated. Please consider using other OneView projects, such as Golang and Python.
Stars: ✭ 13 (-88.79%)
Mutual labels:  infrastructure-as-code, hpe-oneview, composable-infrastructure, hpe-synergy
Terrible
An Ansible playbook that apply the principle of the Infrastructure as Code on a QEMU/KVM environment.
Stars: ✭ 161 (+38.79%)
Mutual labels:  infrastructure, infrastructure-as-code
Terraform Aws Landing Zone
Terraform Module for AWS Landing Zone
Stars: ✭ 142 (+22.41%)
Mutual labels:  infrastructure, infrastructure-as-code
devopsish.com
DevOps, Cloud Native, Hybrid Cloud, Open Source, industry news, culture, and the ‘ish between.
Stars: ✭ 33 (-71.55%)
Mutual labels:  infrastructure, infrastructure-as-code
Toc
A Table of Contents of all Gruntwork Code
Stars: ✭ 111 (-4.31%)
Mutual labels:  infrastructure, infrastructure-as-code
Terrascan
Detect compliance and security violations across Infrastructure as Code to mitigate risk before provisioning cloud native infrastructure.
Stars: ✭ 2,687 (+2216.38%)
Mutual labels:  infrastructure, infrastructure-as-code
Fogg
Manage Infrastructure as Code with less pain.
Stars: ✭ 181 (+56.03%)
Mutual labels:  infrastructure, infrastructure-as-code
c3
𝗖𝟯 provides compliant AWS CDK components to various security standards.
Stars: ✭ 24 (-79.31%)
Mutual labels:  infrastructure, infrastructure-as-code
oneview-golang
Golang bindings for OneView api's
Stars: ✭ 22 (-81.03%)
Mutual labels:  infrastructure-as-code, hpe-oneview
terraform-templates
Terraform templates, examples, etc.
Stars: ✭ 16 (-86.21%)
Mutual labels:  infrastructure, infrastructure-as-code
Cintodeutilidadesdocker
My Docker templates repository 🐳 ☁️ 🐳
Stars: ✭ 74 (-36.21%)
Mutual labels:  infrastructure, infrastructure-as-code
terraform-pb
Programmatic management of infrastructure using Terraform and Protocol Buffers
Stars: ✭ 18 (-84.48%)
Mutual labels:  infrastructure, infrastructure-as-code
Itamae
Configuration management tool inspired by Chef, but simpler and lightweight. Formerly known as Lightchef.
Stars: ✭ 1,014 (+774.14%)
Mutual labels:  infrastructure, infrastructure-as-code
Terraform With Circleci Example
This is an example of automatic deployments of your infrastructure using terraform and CircleCI 2.0 workflows
Stars: ✭ 142 (+22.41%)
Mutual labels:  infrastructure, infrastructure-as-code
Red-Baron
Automate creating resilient, disposable, secure and agile infrastructure for Red Teams
Stars: ✭ 326 (+181.03%)
Mutual labels:  infrastructure, infrastructure-as-code
Pulumi Aws
An Amazon Web Services (AWS) Pulumi resource package, providing multi-language access to AWS
Stars: ✭ 169 (+45.69%)
Mutual labels:  infrastructure, infrastructure-as-code
terraform-vsphere-single-vm
Deploy single vSphere VM with Terraform - template.
Stars: ✭ 21 (-81.9%)
Mutual labels:  infrastructure, infrastructure-as-code
netris-operator
The Kubernetes Operator for Netris
Stars: ✭ 28 (-75.86%)
Mutual labels:  infrastructure, infrastructure-as-code
terraform-aws-concourse
Terraform Module for a distributed concourse cluster on AWS
Stars: ✭ 12 (-89.66%)
Mutual labels:  infrastructure, infrastructure-as-code
stein
A linter for config files with a customizable rule set
Stars: ✭ 92 (-20.69%)
Mutual labels:  infrastructure, infrastructure-as-code

POSH-HPOneView

HPE OneView makes it simple to deploy and manage today’s complex hybrid cloud infrastructure. HPE OneView can help you transform your data center to software-defined, and it supports HPE’s broad portfolio of servers, storage, and networking solutions, ensuring the simple and automated management of your hybrid infrastructure. Software-defined intelligence enables a template-driven approach for deploying, provisioning, updating, and integrating compute, storage, and networking infrastructure.

This library enables PowerShell developers, IT automation engineers, or devops personel the ability to utilize HPE OneView's open REST API to automate infrastructure policies and operations. Starting with the HPE OneView 5.00 PowerShell library, PowerShell Core is now supported.

The major changes are:

  • Changing HPOneView_Classes class module from targeting DotNet Framework 4.6 to DotNet Standard 2.0. This will require DotNet Framework 4.7.1 for Windows at a minimum, which means Windows 10 1709 or newer will be required. It also means that Windows Management Framework 4.0 is no longer supported.
  • Support Windows PowerShell 5.1 and 7.x for Windows, and PowerShellCore 7.x for Mac and Linux.
  • Unified library for the supported PowerShell and PowerShellCore versions.
  • Withe the deprecation of PowerShell 4.0, the EXE installer is also deprecated. Microsoft provides built-in PowerShellGet support to save published modules from PowerShell Gallery, by using the Save-Module Cmdlet.

Build status

AppVeyor 5.50 Branch AppVeyor 5.40 Branch AppVeyor 5.30 Branch AppVeyor 5.20 Branch
Build status PS Gallery Build status PS Gallery Build status PS Gallery Build status PS Gallery

Getting started

To get started, use the Install-Module Cmdlet to install from the PowerShell Gallery to your local system.

For all supported PowerShell and PowerShellCore systems

# Install library from the PowerShell Gallery
Install-Module HPEOneView.550

# Load the module
Import-Module HPEOneView.550

# Connect to your appliance
Connect-OVMgmt -Hostname MyAppliance.FQDN.Name -Credential $MyOneViewCredential

Linux or Mac, including Windows Services for Linux (WSL)

Windows Services for Linux (WSL) is tested and supported using the Ubuntu 18.04 image from the Windows Store. To test and use WSL, Windows 10 1709 (aka Windows 10 Creaters Fall Update) is required. Please see this Microsoft document for further instructions.

For Linux distributions and appliances with a CA signed/issued certificate, you will need to make sure the issuing CA, and CA chain, is exported to PEM format, and placed within the OS SSL cert trusts location. For Ubuntu 18.04, you can:

  1. Place the CA cert in PEM format (the cert format that starts with -----BEGIN CERTIFICATE-----) into /usr/local/shared/ca-certificates.
  2. Execute sudo update-ca-certificates binary, which should look something like:
    chris@desktop2:~$ sudo update-ca-certificates
    Updating certificates in /etc/ssl/certs...
    1 added, 0 removed; done.
    Running hooks in /etc/ca-certificates/update.d...
    done.
  1. If there are any additional cert errors and you simply want to test basic functionality, you can override certificate validation for the library using the following:
# NOTE:  This is NOT supported in production as this is a security risk.
[HPEOneView.PKI.SslValidation]::IgnoreCertErrors = $true

Known limitations

The library normally uses FormatPX to fix formatting issues with the Microsoft provided core cmdlets Format-List and Format-Table. However, FormatPX is not currently supported in PowerShellCore yet. So, when attempting to use the default parameter set of Get-OVNetwork, which can return multiple network resource types, only the first network type will properly display. The rest (like Fibre Channel or Fibre Channel over Ethernet) will display their full object properties.

The Get-OVCommandTrace Cmdlet will generate the required output. But due to a limitation in the DotNet Standard API, a prior used API is no longer available, resulting in Verbose and Debug messages from the HPE OneView C# Class Library to not be captured. When reporting errors, and using the Cmdlet, or if you invoke [HPEOneView.Config]::EnableVerbose = $true and/or [HPEOneView.Config]::EnableDebug = $true, the generated output should be recaptured by Select All, copy and then paste into the created log file.

Getting help

First, read the manual. Cmdlets are documented here in a new doc repository. The project wiki is no longer maintained, and will be removed in a future update.

Are you running into a road block? Have an issue with unexpected bahriov? Feel free to open a new issue on the tracker.

You have a general question about the library? For general questions, or need to discuss a topic that doesn't need to be tracked in the issue tracker, please join the new GitHub Discussions for the project: Join the discussion

Still available, but not actively maintained Gitter.im chat room: Join the chat

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].