python-hpOneView icon indicating copy to clipboard operation
python-hpOneView copied to clipboard

End to end Python provisioning example

Open hjma29 opened this issue 8 years ago • 3 comments

I don't see the folder existing as described in wiki page.

hjma29 avatar Jul 26 '17 19:07 hjma29

Hello @hjma29 , the scripts folder was part of older code that was deprecated and removed.

The wiki is indeed not yet updated to reflect that.

While the wiki is not updated, please refer to the README file for setup and instructions since that should reflect the current setup well, and check the examples folder for examples on usage of the SDK.

fgbulsoni avatar Jul 27 '17 16:07 fgbulsoni

It'll be nice to have some example of using Python library to fully populate a Synergy chassis from ground zero like this example using OneView Powershell https://github.com/daveolker/Populate-HPE-Synergy/blob/master/Populate_HPE_Synergy.ps1

Also can mention ansible/Python repository in Readme file so users can choose either options.

hjma29 avatar Jul 27 '17 17:07 hjma29

An end-to-end script like what is mentioned could indeed help users.

It is not something we have planned at the moment though, so I'm adding the #help_wanted tag.

On a side note, we do have some e2e examples on the oneview-ansible repository, and due to their declarative nature they'll likely be a lot cleaner than pure python examples.

fgbulsoni avatar Jul 27 '17 18:07 fgbulsoni