• Stars
    star
    125
  • Rank 286,335 (Top 6 %)
  • Language
    PowerShell
  • Created about 10 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

PowerShell language bindings library for HPE OneView.

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.
  • With 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 8.00 Branch AppVeyor 7.20 Branch AppVeyor 7.10 Branch AppVeyor 7.00 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.800

# Load the module
Import-Module HPEOneView.800

# 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) or newer 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

More Repositories

1

netperf

Netperf is a benchmark that can be used to measure the performance of many different types of networking. It provides tests for both unidirectional throughput, and end-to-end latency.
C
725
star
2

swarm-learning

A simplified library for decentralized, privacy preserving machine learning
Python
331
star
3

cacti

An integrated cache and memory access time, cycle time, area, leakage, and dynamic power model
C++
301
star
4

squest

Service request portal on top of Ansible Tower/AWX
Python
294
star
5

LinuxKI

LinuxKI Toolset (Trace-based performance analysis tool)
C
224
star
6

quartz

Quartz: A DRAM-based performance emulator for NVM
C
158
star
7

dlcookbook-dlbs

Deep Learning Benchmarking Suite
Python
130
star
8

mcpat

An integrated power, area, and timing modeling framework for multicore and manycore architectures
C++
122
star
9

PacketRusher

High performance 5G UE/gNB Simulator and CP/UP load tester.
Go
109
star
10

oneview-ansible

This project is no longer being developed and has limited support. Please use the newer Ansible Collection project: https://github.com/HewlettPackard/oneview-ansible-collection
Python
104
star
11

yoda

GitHub extension for agile project management using the issues subsystem.
JavaScript
90
star
12

python-hpOneView

DEPRECATED - no longer actively maintained. New repository: https://github.com/HewlettPackard/oneview-python
Python
87
star
13

python-ilorest-library-old

Python library for iLO RESTful API
Python
85
star
14

wireless-tools

Wireless Tools for Linux
C
85
star
15

PowerShell-ProLiant-SDK

PowerShell sample scripts for managing HPE servers
PowerShell
85
star
16

kraal

Enables the use of Kotlin coroutines and GraalVM native-image together
Kotlin
84
star
17

monkeyble

End-to-end testing framework for Ansible
Python
78
star
18

Atlas

Atlas: Programming for Persistent Memory
C++
74
star
19

foedus

FOEDUS: Fast Optimistic Engine for Data Unification Services
65
star
20

foedus_code

FOEDUS main source code repository
C++
64
star
21

structex

Go structure annotations that supports encoding and decoding; similar to C-style bitfields. Supports bitfield packing, self-describing layout parameters, and alignment.
Go
58
star
22

ansible-ilorest-role

Ansible role for installing the Python iLOrest library and showcasing a few examples.
Python
52
star
23

terraform-provider-oneview

Automates the provisioning of physical infrastructure from a private cloud using templates from HPE OneView with Terraform
Go
49
star
24

reconbf

Recon system hardening scanner
Python
47
star
25

sandpiper

Implementation of the Loopy Belief Propagation algorithm for Apache Spark
Scala
42
star
26

sparkle

C++
38
star
27

ilo-ansible-collection

Ansible Collection and Sample Playbooks for HPE iLO
Python
38
star
28

dockerfile-parser-rs

a Rust library for parsing, validating, and modifying Dockerfiles
Rust
37
star
29

jupyterhub-samlauthenticator

jupyterhub-samlauthenticator
Python
34
star
30

cloudformation-plus

A tool that adds features to AWS CloudFormation that reduce the amount of code you must write to deploy non-trivial applications.
Python
31
star
31

cmf

CMF library helps to collect and store information associated with ML pipelines. It tracks the lineages for artifacts and executions of distributed AI pipelines. It provides API's to record and query the metadata associated with ML pipelines. The framework adopts a data first approach and all artifacts recorded in the framework are versioned and identified by the content hash.
Python
30
star
32

lustre_exporter

Prometheus exporter for use with the Lustre parallel filesystem
Go
29
star
33

oneview-python

Python library for HPE OneView
Python
28
star
34

nvthreads

C
27
star
35

oneview-golang

Golang bindings for OneView api's
Go
27
star
36

nagios-plugins-hpilo

Nagios plug-in for iLO Agentless Management
Shell
26
star
37

mds

Managed Data Structures
Java
26
star
38

dpp

Device Provisioning Protocol is a Wi-Fi Alliance program to securely provision devices to obtain network access.
C
25
star
39

mdc-toolkit

24
star
40

Docker-SimpliVity

Ansible deployment playbooks with detailed deployment guides to rapidly provision a Docker dev and Docker ops environment in less than 30 minutes
Shell
24
star
41

woodchipper

An interactive command-line log processor
Rust
23
star
42

oneview-ansible-collection

Ansible Collection and Sample Playbooks for HPE OneView
Python
22
star
43

hpe-solutions-openshift

This GitHub site contains deployment guides and resources for deploying Red Hat OpenShift on HPE platforms.
Python
22
star
44

chef-provisioning-oneview

Chef Provisioning Driver for HPE OneView
Ruby
21
star
45

lustre-csi-driver

A Lustre container storage interface that allows Kubernetes to mount/unmount provisioned Lustre filesystems into containers.
Go
20
star
46

supersim

A flexible event-driven cycle-accurate network simulator
C++
19
star
47

hpe3par_ansible_module

HPE Alletra 9000 and HPE Primera and HPE 3PAR ansible module to configure, provision and manage storage systems and resources
Python
18
star
48

galadriel

SPIFFE Federation the easy way
Go
18
star
49

csa-ce

This repo contains scripts which start HPE Cloud Service Automation Community Edition 4.7 (HPE CSA CE) in Docker.
Shell
17
star
50

ezdemo

HPE Ezmeral Deployment tool for demos
Shell
17
star
51

ilo-chef

iLO Resource Provider for Chef
Ruby
17
star
52

oneview-chef

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 Terraform and Ansible Collection
Ruby
17
star
53

oneview-osdeployment

Sample HPE OneView OS deployment integration
Python
16
star
54

oneview-sdk-java

Java SDK for HPE OneView
Java
16
star
55

ilo-sdk-ruby

iLO Software Development Kit for Ruby Programmers.
Ruby
15
star
56

criu-pmem

C
15
star
57

oneview-redfish-toolkit

HPE OneView Redfish Toolkit provides a REST service to answer DMTF's Redfish compliant requests by querying HPE OneView
Python
15
star
58

javascript-ilorest-library

JavaScript
15
star
59

mpgc

Multi-Process Garbage Collector
C++
15
star
60

logger

A log parsing engine written in Java for high performance. Additionally, logger is also highly configurable.
Java
14
star
61

pcp_exporter

Exporter for Performance CoPilot Metrics
Go
14
star
62

Aruba-FlaskwithNetworking

Python
14
star
63

zabbix-plugins-hpeilo

Shell
13
star
64

hpe-oneview-hubot

HPE OneView Chatbot Integration
JavaScript
13
star
65

osfci

Go
13
star
66

prometheus-parser-rs

a Rust library for parsing and validating Prometheus query expressions
Rust
12
star
67

nagios-hpeilo-restful-extension

Nagios Plug-in for iLO RESTful Extension
Shell
12
star
68

c-spiffe

C
12
star
69

LSGI

Large-Scale Graph Inference
HTML
12
star
70

oneview-powershell-samples

HPE OneView PowerShell sample scripts
PowerShell
12
star
71

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.
Ruby
12
star
72

zing-stats

Tool for generating summary stat reports and graphs from Gerrit (https://www.gerritcodereview.com/) and GitHub Enterprise review and pull requests data using https://plot.ly/.
Python
12
star
73

py-spiffe

Python library for SPIFFE support
Python
11
star
74

Jenkins-stats

Tool for gathering job data from the Jenkins CI system (https://jenkins-ci.org/) and generating summary stat reports and graphs. These reports cover metrics such as success/failure rates and job duration.
Python
11
star
75

image-streamer-tools

PowerShell
10
star
76

OpenShift-on-SimpliVity

10
star
77

lsrrb

Linux Software Raid Redundant Boot
Python
10
star
78

Docker-Synergy

Shell
10
star
79

shoveller

Rust
10
star
80

hpecli

Command-line interface for HPE products and services
Go
10
star
81

hpe3par_pstoolkit

The HPE Alletra 9000 and Primera and 3PAR PowerShell Toolkit supports cmdlets, which are wrappers around the native HPE Alletra 9000 or HPE Primera or HPE 3PAR storage CLI commands and Web Services API (WSAPI).
PowerShell
10
star
82

image-streamer-esxi

9
star
83

chef-ilorest-cookbook

Chef cookbook for installing the Python iLOrest library and showcasing a few examples.
Python
9
star
84

GlobalDashboardPS

A Powershell module for working with HPE OneView Global Dashboard
PowerShell
9
star
85

hpe-notebooks

Jupyter Notebook
9
star
86

hpe3par_python_sdk

HPE Alletra 9000 and HPE Primera and HPE 3PAR Software Development Kit for Python
Python
9
star
87

RiscVEdk2

C
9
star
88

HPEDSCC-PowerShell-Toolkit

A PowerShell Toolkit that enables management of a HPE GreenLake DSCC (Data Storage Cloud Console) environment via easy to use PowerShell commands which interface with the publically available RestAPI.
PowerShell
9
star
89

gull

a multi-node fabric-attached memory manager that provides simple abstractions for accessing and allocating NVM from fabric-attached memory
C++
9
star
90

iLOAmpPack-Redfish-API-Docs

iLO Amplifier Pack Redfish API Documentation
JavaScript
8
star
91

python-opsramp

Python binding for the OpsRamp API
Python
8
star
92

ironic-driver-oneview

HPE OneView driver for OpenStack Ironic bare-metal machine provisioning
8
star
93

simplivity-ansible

Ansible Modules for HPE SimpliVity
Python
8
star
94

hpe-nvm

Documentation and utilities for NVDIMM-N device management and support
8
star
95

oneview-puppet

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 Terraform and Ansible Collection
Ruby
8
star
96

SHARP

Python
7
star
97

devid-provisioning-tool

Go
7
star
98

oneview-ansible-samples

A collection of sample code for oneview-ansible
7
star
99

dc-rl

HTML
7
star
100

simplivity-python

This library provides a Python interface to the HPE SimpliVity REST APIs
Python
7
star