{"id":19546058,"url":"https://github.com/hewlettpackard/oneview-python","last_synced_at":"2026-04-29T07:01:00.456Z","repository":{"id":36649151,"uuid":"212693457","full_name":"HewlettPackard/oneview-python","owner":"HewlettPackard","description":"Python library for HPE OneView","archived":false,"fork":false,"pushed_at":"2026-04-28T05:28:02.000Z","size":479017,"stargazers_count":31,"open_issues_count":8,"forks_count":28,"subscribers_count":6,"default_branch":"master","last_synced_at":"2026-04-28T06:30:50.423Z","etag":null,"topics":["composable-infrastructure","hpe-oneview","hpe-synergy","infrastructure","infrastructure-as-code","oneview","python"],"latest_commit_sha":null,"homepage":"https://github.com/HewlettPackard/oneview-python/wiki","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HewlettPackard.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-10-03T22:35:17.000Z","updated_at":"2026-02-19T04:58:13.000Z","dependencies_parsed_at":"2023-01-17T03:44:38.694Z","dependency_job_id":"62899644-fc70-4a2a-903a-4929d617d8ba","html_url":"https://github.com/HewlettPackard/oneview-python","commit_stats":{"total_commits":806,"total_committers":28,"mean_commits":"28.785714285714285","dds":0.8163771712158809,"last_synced_commit":"10e0990ee2d18d6eaa07b17320a7e161582009eb"},"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"purl":"pkg:github/HewlettPackard/oneview-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HewlettPackard%2Foneview-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HewlettPackard%2Foneview-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HewlettPackard%2Foneview-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HewlettPackard%2Foneview-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HewlettPackard","download_url":"https://codeload.github.com/HewlettPackard/oneview-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HewlettPackard%2Foneview-python/sbom","scorecard":{"id":62392,"data":{"date":"2025-08-11","repo":{"name":"github.com/HewlettPackard/oneview-python","commit":"0aebf67939f23acef14bf03637648edd715b716c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"12 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/createtagandrelease.yml:10","Warn: no topLevel permission defined: .github/workflows/createtagandrelease.yml:1","Warn: no topLevel permission defined: .github/workflows/dockerimage.yml:1","Warn: no topLevel permission defined: .github/workflows/pullrequestforrelease.yml:1","Warn: no topLevel permission defined: .github/workflows/run_tests.yml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/createtagandrelease.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/HewlettPackard/oneview-python/createtagandrelease.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/createtagandrelease.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/HewlettPackard/oneview-python/createtagandrelease.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/createtagandrelease.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/HewlettPackard/oneview-python/createtagandrelease.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/createtagandrelease.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/HewlettPackard/oneview-python/createtagandrelease.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dockerimage.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/HewlettPackard/oneview-python/dockerimage.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dockerimage.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/HewlettPackard/oneview-python/dockerimage.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pullrequestforrelease.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/HewlettPackard/oneview-python/pullrequestforrelease.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pullrequestforrelease.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/HewlettPackard/oneview-python/pullrequestforrelease.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/run_tests.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/HewlettPackard/oneview-python/run_tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/run_tests.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/HewlettPackard/oneview-python/run_tests.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/run_tests.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/HewlettPackard/oneview-python/run_tests.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/run_tests.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/HewlettPackard/oneview-python/run_tests.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating python:3.6-slim-buster to python:3.6-slim-buster@sha256:e10aa83604948c6d8d9f72a9a20193d84bb2dbe550b725eb5208387117fde065","Warn: pipCommand not pinned by hash: Dockerfile:20","Warn: pipCommand not pinned by hash: Dockerfile:23","Warn: pipCommand not pinned by hash: Dockerfile:26","Warn: pipCommand not pinned by hash: Dockerfile:32-33","Warn: pipCommand not pinned by hash: Dockerfile:32-33","Warn: pipCommand not pinned by hash: .github/workflows/dockerimage.yml:23","Warn: pipCommand not pinned by hash: .github/workflows/dockerimage.yml:24","Warn: pipCommand not pinned by hash: .github/workflows/run_tests.yml:24","Warn: pipCommand not pinned by hash: .github/workflows/run_tests.yml:25","Info:   0 out of   7 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   9 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/dockerimage.yml:11"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2022-42991 / GHSA-v3c5-jqr6-7qm8"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-15T01:59:00.937Z","repository_id":36649151,"created_at":"2025-08-15T01:59:00.937Z","updated_at":"2025-08-15T01:59:00.937Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32414422,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["composable-infrastructure","hpe-oneview","hpe-synergy","infrastructure","infrastructure-as-code","oneview","python"],"created_at":"2024-11-11T03:42:54.906Z","updated_at":"2026-04-29T07:01:00.449Z","avatar_url":"https://github.com/HewlettPackard.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HPE OneView SDK for Python\n\n## Build Status \n\n| OV Version | 11.20 |11.10|10.20 |10.10| 10.00 |  9.40 | 9.30 | 9.20 | 9.10 | 9.00 | 8.90 |8.80 | 8.70 | 8.60 | 8.50 | 8.40 | 8.30 | 8.20 | 8.10 | 8.00 | 7.20 | 7.10 | 7.00                                                                                                                                                                                    | 6.60                                                                                                                                                                                    | 6.50                                                                                                                                                                                    |                                                                                      6.40                                                                                       |                                                                                      6.30                                                                                       |                                                                                          6.20                                                                                          |                                                                                          6.10                                                                                          |                                                                                          6.00                                                                                          |                                                                                            5.60                                                                                            |\n| ------------- |------------- |------------- | ------------- |  ------------- | ------------- | ------------- |  ------------- |------------- |  ------------- |  ------------- |  ------------- |  ------------- |   --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |----------------------------------------------------------------------------: |----------------------------------------------------------------------------: |---------------------------------------------------------------------------: |---------------------------------------------------------------------------: |---------------------------------------------------------------------------: |---------------------------------------------------------------------------: |---------------------------------------------------------------------------: |---------------------------------------------------------------------------: |---------------------------------------------------------------------------: |\n| SDK Version/Tag |[v11.2.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v11.2.0)|[v11.0.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v11.0.0)|[v10.2.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v10.2.0)|[v10.1.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v10.1.0)|[v10.0.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v10.0.0)|[v9.4.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v9.4.0)|[v9.3.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v9.3.0)|[v9.2.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v9.2.0)|[v9.1.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v9.1.0)|[v9.0.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v9.0.0)|[v8.9.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v8.9.0)|[v8.8.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v8.8.0)|[v8.7.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v8.7.0)|[v8.6.0](https://github.com/HewlettPackard/oneview-python/releases/tag/8.6.0)|[v8.5.1](https://github.com/HewlettPackard/oneview-python/releases/tag/v8.5.1)|[v8.4.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v8.4.0)|[v8.3.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v8.3.0)|[v8.2.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v8.2.0)|[v8.1.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v8.1.0)|[v8.0.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v8.0.0)|[v7.2.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v7.2.0)|[v7.1.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v7.1.0)| [v7.0.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v7.0.0)                                                                                                          | [v6.6.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v6.6.0)                                                                                                          | [v6.5.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v6.5.0)                                                                                                          |                                                 [v6.4.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v6.4.0)                                                  |                                                 [v6.3.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v6.3.0)                                                  |                                                     [v6.2.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v6.2.0)                                                     |                                                     [v6.1.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v6.1.0)                                                     |                                                     [v6.0.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v6.0.0)                                                     |                                                       [v5.6.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v5.6.0)                                                       |\n| Build Status    |[![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/17229057379)|[![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/17229057379)|[![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/15990873494)|[![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/15339097203)|[![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/13966175147)|[![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/12366754318)|[![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/11433142032)|[![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/10627009175)|[![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/10627009175)|[![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/10627009175)|[![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/10627009175)|[![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/10627009175)|[![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/9691703512)|[![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/8781715851) |[![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/8137922616) |[![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/7421375670) |[![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/5851838948) |[![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/5332199086) | [![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/4800354967) | [![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/4371621558) | [![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/3626826357)| [![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/3006374044) | [![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/2675986741) | [![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/2376290875) | [![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/1967921808) | [![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/1658469670) | [![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/runs/4236699714) | [![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/runs/3524286157) | [![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/986745563) | [![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/726148134) | [![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/623585124) | [![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://travis-ci.com/github/HewlettPackard/oneview-python/builds/214352373) |\n\n## Introduction\n\nHPE 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.\n\nThe HPE OneView Python library provides a pure Python interface to the HPE OneView REST APIs. It depends on the [Python-Future](http://python-future.org/index.html) library to provide Python 2/3 compatibility.\n\nYou can find the latest supported HPE OneView Python SDK [here](https://github.com/HewlettPackard/oneview-python/releases/latest)\n\nRefer to\n\nSupported HPE OneView Python [APIs Implementation](https://github.com/HewlettPackard/oneview-python/blob/master/endpoints-support.md) and\nLatest version of the OneView Python [SDK Documentation](https://hewlettpackard.github.io/oneview-python/index.html)\n\n## What's New\n\nHPE OneView Python library extends support of the SDK to OneView REST API version 8200 (OneView v11.20)\n### Migration script\nPerform migration from HPE OneView 6.x to HPE OneView 7.0 for non-Synergy appliance using below script.\n```bash\n   $ git clone https://github.com/HewlettPackard/oneview-python.git\n   $ cd oneview-python/examples/migration/\n   $ python migrate.py [\u003clist of server hardwware names to be migrated\u003e] \n```\n\nPlease refer to [notes](https://github.com/HewlettPackard/oneview-python/blob/master/CHANGELOG.md) for more information on the changes , features supported and issues fixed in this version\n\n## Getting Started \n\nHPE OneView SDK for Python can be installed from Source,Pypi and Docker container installation methods.\n\n   ## From Source\n   ```bash\n   $ git clone https://github.com/HewlettPackard/oneview-python.git\n   $ cd oneview-python \n   ```\n   ```python\n   $ python setup.py install --user  # to install in the user directory (~/.local)\n   ```\n   ```bash\n   $ sudo python setup.py install    # to install globally\n   ```\n   \n   ## Or using PIP:\n   ```bash\n   $ git clone https://github.com/HewlettPackard/oneview-python.git \n   $ cd oneview-python \n   ```\n   ```python\n   $ pip install . \n   ```   \n   \n   ## From Pypi\n   ```bash\n   $ git clone https://github.com/HewlettPackard/oneview-python.git\n   $ cd oneview-python \n   ```\n   ```python\n   $ pip install hpeOneView \n   ```\n   \n   ## From Docker Image / Container\n   \n   Clone this repo and cd into it:\n   ```bash\n   $ git clone https://github.com/HewlettPackard/oneview-python.git\n   $ cd oneview-python\n   ```\n   \n   # Build the docker image:\n   ```bash\n   $ docker build -t oneview-python . \n   ```\n   Now you can run any of the example in this directory:\n   Run the container, passing in your credentials to OneView and specifying which example recipe to run. \u003cbr /\u003e\n   `-v`: The volume on which repo code is mounted \u003cbr /\u003e\n   Replace `connection_templates` with the name of the example you'd like to run \u003cbr /\u003e\n   Replace `pwd` with the path of the example file you'd like to run. \u003cbr /\u003e\n   ```bash\n   $ docker run -it --rm \\ -v $(pwd)/:/root/oneview/ python examples/connection_templates.py\n   ```\n   \n   ## Running Examples with published docker image\n   We also provide a lightweight and easy way to test and run oneview-python. The hewlettpackardenterprise/hpe-oneview-sdk-for-python:\u003ctag\u003e docker image \n   contains an installation of oneview-python installation you can use by just pulling down the Docker Image:\n\n   The Docker Store image tag consist of two sections: \u003csdk_version-OV_version\u003e\n\n   Download and store a local copy of hpe-oneview-sdk-for-python and use it as a Docker image. \u003cbr /\u003e\n   ```bash\n\n   $ docker pull hewlettpackardenterprise/hpe-oneview-sdk-for-python:v10.2.0-OV10.2\n   ```\n\n   Run docker commands and this will in turn create sh session where you can create files, issue commands and execute the tests \u003cbr /\u003e\n   ```bash\n\n   $ docker run -it hewlettpackardenterprise/hpe-oneview-sdk-for-python:v10.2.0-OV10.2 /bin/sh\n\n   ```\n   \n## Configuration\n\n  ### JSON: \n  Connection properties for accessing the OneView appliance can be set in a JSON file.\n  Before running the samples or your own scripts, you must create the JSON file. An example can be found at: OneView configuration sample.\n\n  Note: If you have an active and valid login session and want to use it, define the sessionID in the Credentials. When sessionID is defined, you can remove username \n  and password from your JSON (they will be disregarded anyway).\n\n  Once you have created the JSON file, you can initialize the OneViewClient:\n\n   ```python \n   from hpeOneView.oneview_client import OneViewClient\n   oneview_client = OneViewClient.from_json_file('/path/config.json')\n   ``` \n   \n  :lock: Tip: Check the file permissions because the password is stored in clear-text.\n\n  ### Environment Variables:\n  Configuration can also be defined through environment variables:\n\n  ### Required\n  ```bash\n  export ONEVIEWSDK_IP='172.16.102.82'\n  export ONEVIEWSDK_USERNAME='Administrator'\n  export ONEVIEWSDK_PASSWORD='secret123'\n  ```\n  Or sessionID \n  ```bash\n   export ONEVIEWSDK_SESSIONID='123'\n   ```\n    \n  Once you have defined the environment variables, you can initialize the OneViewClient using the following code snippet:\n\n  ```python \n   from hpeOneView.oneview_client import OneViewClient\n   oneview_client = OneViewClient.from_environment_variables()\n   ```\n  :lock: Tip: Make sure no unauthorized person has access to the environment variables, since the password is stored in clear-text.\n\n  Note: If you have an active and valid login session and want to use it, define the ```ONEVIEWSDK_SESSIONID```. When a sessionID is defined, it will be used for \n  authentication (username and password will be ignored in this case).\n\n  ### Dictionary:\n  ```python\n  # You can also set the configuration using a dictionary. As described above, for authentication you can use username/password:\n  config = { \n    \"ip\": \"172.16.102.82\", \n    \"credentials\": { \n        \"userName\": \"Administrator\",\n        \"password\": \"secret123\"\n    }\n  }\n  ```\n  \n  ```python \n  #Or if you have an active and valid login session and want to use it, define the sessionID in the Credentials:\n  config = {\n    \"ip\": \"172.16.102.82\",\n    \"credentials\": { \n        \"sessionID\": \"123\" \n    } \n  }\n  ```\n\n  ```python\n  # If you need to use a proxy server, You can add the same in config dictionary as below:\n  config = { \n    \"ip\": \"172.16.102.82\",\n    \"proxy\": \"1.2.3.4:8080\",\n    \"credentials\": {\n        \"userName\": \"Administrator\",\n        \"password\": \"secret123\"\n    }\n  }\n  ```\n\n  ```python \n   from hpeOneView.oneview_client import OneViewClient\n   oneview_client = OneViewClient(config) \n   ```\n  :lock: Tip: Check the file permissions because the password is stored in clear-text.\n\n\nFor more details on the Installation , Configuration , Logging , Troubleshooting refer to [WIKI# Installation \u0026 Configuration section](https://github.com/HewlettPackard/oneview-python/wiki#installation).\n\n### HPE Synergy Image Streamer\n\nFrom Release 8.1, Image streamer is no longer supported.\n\n## Getting Help \n\nAre you running into a road block? Have an issue with unexpected bahriov? Feel free to open a new issue on the [issue tracker](https://github.com/HewlettPackard/oneview-python/issues)\n\nFor more information on how to open a new issue refer to [How can I get help \u0026 support](https://github.com/HewlettPackard/oneview-python/wiki#getting-help---how-can-i-get-help—support)\n\n## License \n\nThis project is licensed under the Apache license. Please see [LICENSE](https://github.com/HewlettPackard/oneview-python/blob/master/LICENSE) for more information.\n\n## Additional Resources \n\n**HPE OneView Documentation**\n\n[HPE OneView Release Notes](http://hpe.com/info/OneView/docs)\n\n[HPE OneView Support Matrix](http://hpe.com/info/OneView/docs)\n\n[HPE OneView Installation Guide](http://hpe.com/info/OneView/docs)\n\n[HPE OneView User Guide](http://hpe.com/info/OneView/docs)\n\n[HPE OneView Online Help](http://hpe.com/info/OneView/docs)\n\n[HPE OneView REST API Reference](http://hpe.com/info/OneView/docs)\n\n[HPE OneView Firmware Management White Paper](http://hpe.com/info/OneView/docs)\n\n[HPE OneView Deployment and Management White Paper](http://hpe.com/info/OneView/docs)\n\n\n**HPE OneView Community**\n\n[HPE OneView Community Forums](http://hpe.com/info/oneviewcommunity)\n\nLearn more about HPE OneView at [hpe.com/info/oneview](https://hpe.com/info/oneview)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhewlettpackard%2Foneview-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhewlettpackard%2Foneview-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhewlettpackard%2Foneview-python/lists"}