Skip to content

Commit

Permalink
Merge pull request #357 from HewlettPackard/validation_7.0
Browse files Browse the repository at this point in the history
OV7.0 validation
  • Loading branch information
nabhajit-ray committed May 16, 2022
2 parents 1ecdeb7 + 3ce0312 commit 5e10f00
Show file tree
Hide file tree
Showing 5 changed files with 370 additions and 327 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.11
go-version: 1.15

- name: Install Go Overalls
run: go get github.com/mattn/goveralls
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ jobs:
- name: Login to Docker Hub
run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
- name: Build the tagged Docker image
run: docker build . --file Dockerfile --tag hewlettpackardenterprise/hpe-oneview-sdk-for-golang:${{ env.RELEASE_VERSION }}-OV6.6
run: docker build . --file Dockerfile --tag hewlettpackardenterprise/hpe-oneview-sdk-for-golang:${{ env.RELEASE_VERSION }}-OV7.0
- name: Push the tagged Docker image
run: docker push hewlettpackardenterprise/hpe-oneview-sdk-for-golang:${{ env.RELEASE_VERSION }}-OV6.6
run: docker push hewlettpackardenterprise/hpe-oneview-sdk-for-golang:${{ env.RELEASE_VERSION }}-OV7.0
45 changes: 44 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,48 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html)
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html)# [v7.0.0](unlreleased)
#### Notes
- This release extends supports of the SDK to Oneview API Version 4000.

### Oneview Features supported
- Appliance Configuration Timeconfig
- Appliance SSH Access
- Appliance SNMP V1 Trap Destinations
- Appliance SNMPv3 Trap Destination
- Appliance SNMPv3 User
- Appliance Time and Locale Configuration
- Connection Template
- Deployment Plan
- Ethernet Network
- Enclosure
- Enclosure Group
- FC Network
- FCOE Network
- Firmware Drivers
- Hypervisor Manager
- Hypervisor Cluster Profile
- ID Pools
- ID Pools IPv4 Ranges
- ID Pools Ipv4 Subnets-
- Interconnects
- Interconnect Types
- Labels Resource
- Logical Enclosure
- Logical Interconnect Group
- Logical Interconnects
- Network Set
- Scope
- Server Certificates
- Server Hardware
- Server Hardware Types
- Server Profile
- Server Profile Template
- Storage Pool
- Storage System
- Storage Template
- Storage Volume
- Storage Volume Attachments
- Tasks
- Uplink Set
# [v6.6.0]
#### Notes
- This release extends supports of the SDK to Oneview API Version 3800.
Expand Down
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# HPE OneView SDK for GoLang

## Build Status
| OV Version | 6.60 | 6.50 | 6.40 | 6.30 | 6.20 | 6.10 | 6.00 |
| --------------: | -----------: |-----------: | ------------: | -------------: |-----------: | ----------: |-----------: |
| SDK Version/Tag | [v6.6.0](https://github.com/HewlettPackard/oneview-golang/releases/tag/v6.6.0)| [v6.5.0](https://github.com/HewlettPackard/oneview-golang/releases/tag/v6.5.0) | [v6.4.0](https://github.com/HewlettPackard/oneview-golang/releases/tag/v6.4.0) | [v6.3.0](https://github.com/HewlettPackard/oneview-golang/releases/tag/v6.3.0) | [v6.2.0](https://github.com/HewlettPackard/oneview-golang/releases/tag/v6.2.0) | [v6.1.0](https://github.com/HewlettPackard/oneview-golang/releases/tag/v6.1.0) | [v6.0.0](https://github.com/HewlettPackard/oneview-golang/releases/tag/v6.0.0) |
| Build Status |[![Build status](https://github.com/HewlettPackard/oneview-golang/actions/workflows/ci.yml/badge.svg)](https://github.com/HewlettPackard/oneview-golang/actions/runs/2007977274) |[![Build status](https://github.com/HewlettPackard/oneview-golang/actions/workflows/ci.yml/badge.svg)](https://github.com/HewlettPackard/oneview-golang/actions/runs/1675861580) | [![Build status](https://github.com/HewlettPackard/oneview-golang/actions/workflows/ci.yml/badge.svg)](https://github.com/HewlettPackard/oneview-golang/actions/runs/1675861580) | [![Build status](https://github.com/HewlettPackard/oneview-golang/actions/workflows/ci.yml/badge.svg)](https://github.com/HewlettPackard/oneview-golang/actions/runs/1394488243) | [![Build status](https://github.com/HewlettPackard/oneview-golang/actions/workflows/ci.yml/badge.svg)](https://github.com/HewlettPackard/oneview-golang/actions/runs/1212617100) | [![Build status](https://github.com/HewlettPackard/oneview-golang/actions/workflows/ci.yml/badge.svg)](https://github.com/HewlettPackard/oneview-golang/actions/runs/998462546) | [![Build status](https://github.com/HewlettPackard/oneview-golang/actions/workflows/ci.yml/badge.svg)](https://github.com/HewlettPackard/oneview-golang/actions/runs/789405541) | [![Build status](https://github.com/HewlettPackard/oneview-golang/actions/workflows/ci.yml/badge.svg)](https://github.com/HewlettPackard/oneview-golang/actions/runs/638584153) |
| OV Version | 7.00 | 6.60 | 6.50 | 6.40 | 6.30 | 6.20 | 6.10 | 6.00 |
| --------------: |--------------: | -----------: |-----------: | ------------: | -------------: |-----------: | ----------: |-----------: |
| SDK Version/Tag | [v7.0.0](https://github.com/HewlettPackard/oneview-golang/releases/tag/v7.0.0)| [v6.6.0](https://github.com/HewlettPackard/oneview-golang/releases/tag/v6.6.0)| [v6.5.0](https://github.com/HewlettPackard/oneview-golang/releases/tag/v6.5.0) | [v6.4.0](https://github.com/HewlettPackard/oneview-golang/releases/tag/v6.4.0) | [v6.3.0](https://github.com/HewlettPackard/oneview-golang/releases/tag/v6.3.0) | [v6.2.0](https://github.com/HewlettPackard/oneview-golang/releases/tag/v6.2.0) | [v6.1.0](https://github.com/HewlettPackard/oneview-golang/releases/tag/v6.1.0) | [v6.0.0](https://github.com/HewlettPackard/oneview-golang/releases/tag/v6.0.0) |
| Build Status |[![Build status](https://github.com/HewlettPackard/oneview-golang/actions/workflows/ci.yml/badge.svg)](https://github.com/HewlettPackard/oneview-golang/actions/runs/2014176911) |[![Build status](https://github.com/HewlettPackard/oneview-golang/actions/workflows/ci.yml/badge.svg)](https://github.com/HewlettPackard/oneview-golang/actions/runs/2007977274) |[![Build status](https://github.com/HewlettPackard/oneview-golang/actions/workflows/ci.yml/badge.svg)](https://github.com/HewlettPackard/oneview-golang/actions/runs/1675861580) | [![Build status](https://github.com/HewlettPackard/oneview-golang/actions/workflows/ci.yml/badge.svg)](https://github.com/HewlettPackard/oneview-golang/actions/runs/1675861580) | [![Build status](https://github.com/HewlettPackard/oneview-golang/actions/workflows/ci.yml/badge.svg)](https://github.com/HewlettPackard/oneview-golang/actions/runs/1394488243) | [![Build status](https://github.com/HewlettPackard/oneview-golang/actions/workflows/ci.yml/badge.svg)](https://github.com/HewlettPackard/oneview-golang/actions/runs/1212617100) | [![Build status](https://github.com/HewlettPackard/oneview-golang/actions/workflows/ci.yml/badge.svg)](https://github.com/HewlettPackard/oneview-golang/actions/runs/998462546) | [![Build status](https://github.com/HewlettPackard/oneview-golang/actions/workflows/ci.yml/badge.svg)](https://github.com/HewlettPackard/oneview-golang/actions/runs/789405541) | [![Build status](https://github.com/HewlettPackard/oneview-golang/actions/workflows/ci.yml/badge.svg)](https://github.com/HewlettPackard/oneview-golang/actions/runs/638584153) |
## Introduction

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.
Expand All @@ -15,7 +15,7 @@ You can find the latest supported HPE OneView Go SDK [here](https://github.com/H

## What's New

HPE OneView Go library extends support of the SDK to OneView REST API version 3800 (OneView v6.60)
HPE OneView Go library extends support of the SDK to OneView REST API version 4000 (OneView v7.00)

Please refer to [notes](https://github.com/HewlettPackard/oneview-golang/blob/master/CHANGELOG.md) for more information on the changes , features supported and issues fixed in this version

Expand All @@ -31,10 +31,10 @@ The light weight containerized version of the HPE OneView SDK for Go is availabl

```bash
# Download and store a local copy of oneview-golang and use it as a Docker Image.
$ docker pull hewlettpackardenterprise/hpe-oneview-sdk-for-golang:v6.6.0-OV6.6
$ docker pull hewlettpackardenterprise/hpe-oneview-sdk-for-golang:v7.0.0-OV7.0
# Run docker commands below given, which will in turn create a sh session
# where you can create files, issue commands and execute the examples.
$ docker run -it hewlettpackardenterprise/hpe-oneview-sdk-for-golang:v6.6.0-OV6.6 /bin/sh
$ docker run -it hewlettpackardenterprise/hpe-oneview-sdk-for-golang:v7.0.0-OV7.0 /bin/sh
```

### Local Setup
Expand All @@ -44,13 +44,13 @@ $ docker run -it hewlettpackardenterprise/hpe-oneview-sdk-for-golang:v6.6.0-OV6.
```bash
# Install the dependent packages
$ apt-get install build-essential git wget
$ wget https://dl.google.com/go/go1.11.3.linux-amd64.tar.gz
$ wget https://dl.google.com/go/go1.15.2.linux-amd64.tar.gz
```

```bash
# untar with "tar -zxvf go1.11.3.linux-amd64.tar.gz"
# untar with "tar -zxvf go1.15.2.linux-amd64.tar.gz"
# move go/ to /usr/local/
# mv go1.11.3.linux-amd64.tar.gz /usr/local/
# mv go1.15.2.linux-amd64.tar.gz /usr/local/
# mkdir ~/go
```

Expand Down Expand Up @@ -79,7 +79,7 @@ $ export ONEVIEW_OV_DOMAIN=LOCAL
$ export ONEVIEW_SSLVERIFY=false
$ export ONEVIEW_APIVERSION=<ov_apiversion>
```
Note: Currently this SDK supports OneView API 3800 minimally, where we can test OneView API 3800 version with this SDK. If API version is not provided then appliance's API version will be used. If API version used is not supported then error will be thrown.
Note: Currently this SDK supports OneView API 4000 minimally, where we can test OneView API 4000 version with this SDK. If API version is not provided then appliance's API version will be used. If API version used is not supported then error will be thrown.

### OneView Client Configuration

Expand Down Expand Up @@ -226,7 +226,7 @@ $ make test
```

#### Without docker
* Install golang 1.5 or higher(We recommend using Go 1.11)
* Install golang 1.5 or higher(We recommend using Go 1.15)
* Install go packages listed in .travis.yml

The Test Data for these Tests are supplied through JSON file stored at `test/data for example config_EGSL_tb200.json`
Expand Down

0 comments on commit 5e10f00

Please sign in to comment.