You can use example files to see how to use the API and test functionality of individual resources.
- hpOneView must be installed
To use a common config for all examples, the file config-rename.json
should be renamed to config.json. Otherwise you can set the connection
config inside the example.
🔒 Tip: Check the file permissions because the password is stored in clear-text.
To run these examples follow the steps:
- enter in the examples folder
- run
python <example_file>.py