Comments (11)
This file is still not distributed out of today's "pip install". Therefore the quick start example still does not work if followed "line by line".
from python-ilorest-library.
@bihary84 _restobject.py is a file we created to help with the examples. You can download it here: https://github.com/HewlettPackard/python-ilorest-library/blob/master/examples/Redfish/_redfishobject.py
from python-ilorest-library.
Hi Jack!
Thank you, I had the impression this is inside the library.
I downloaded it but not I got this error message:
python ex10_add_ilo_user_account.py
Traceback (most recent call last):
File "ex10_add_ilo_user_account.py", line 16, in <module>
from _redfishobject import RedfishObject
File "/root/python/_redfishobject.py", line 74, in <module>
import redfish.ris.tpdefs
ImportError: No module named redfish.ris.tpdefs
from python-ilorest-library.
Are you using the latest code branch? That file is available here: https://github.com/HewlettPackard/python-ilorest-library/blob/master/src/redfish/ris/tpdefs.py
from python-ilorest-library.
I am using this:
https://github.com/HewlettPackard/python-ilorest-library
I just ran the pip install to obtain the library as you can see above.
I have this version:
pip3 show python-ilorest-library
Name: python-ilorest-library
Version: 1.9.2
Summary: iLO Rest Python Library
Home-page: https://github.com/HewlettPackard/python-ilorest-library
Author: Hewlett Packard Enterprise
Author-email: [email protected]
License: UNKNOWN
Location: /usr/lib/python3.4/site-packages
Requires: validictory, jsonpath-rw, jsonpatch, jsonpointer, urlparse2
Should I do the install in a different way? Or are there any prerequisite?
from python-ilorest-library.
@bihary84 installing from source is usually my recommendation. Also keep in mind that this library doesn't have support for python 3.
from python-ilorest-library.
I see. In that case I will try to manually put together the rest calls.
from python-ilorest-library.
@bihary84 you may want to see if the manually installation works. Just download the zip file and run "python setup.py install". Also we are working on releasing official support for python 3 in the next 2 months.
from python-ilorest-library.
I need python3 so if this is not supported I cannot use that. Actually, I created the python calls I need during this afternoon. I just needed to obtain/delete a token and create/list/del users.
Though, it was a bit tricky to figure out the calls based on the available documentation but finally i managed it:)
Thank you for your help!
How can I be notified about the next released which supports the python3?
from python-ilorest-library.
It will be in our 2.0.2+ release. To keep up with releases you can watch/start the project.
from python-ilorest-library.
Thank you! I started to watch the project!
from python-ilorest-library.
Related Issues (20)
- Is it possible to upload sshkey for created user account? HOT 1
- BIOs settings not changed after successful response HOT 2
- rdmc_helper import error HOT 1
- Fix for rdmc_helper needed in latest versions HOT 1
- Please add some fallback if rdmc_helper can't get imported HOT 1
- Invalid syntax when importing HOT 1
- ilorest rawpost question HOT 1
- add user HOT 2
- Add User is not working for iLo6 firmware 1.20 (DL385Gen11) HOT 1
- python 2.7 support HOT 1
- Cannot build locally HOT 2
- Can we retrieve memory/DIMM part number using restapi or ilorest command? HOT 1
- Volume creation fails "Unable to locate instance for volume. " HOT 2
- Unable to set onetime boot using ilorest 4.1.0.0 HOT 2
- Modify User is not working for iLo6 firmware 1.20 (DL385Gen11) HOT 3
- ChifDriverMissingOrNotFound with iLO 6 HOT 2
- Can't set retries parameter for RedfishClient HOT 1
- iLO6 description documents HOT 4
- Publish whl files to pypi HOT 2
- upload_firmware_ilo_repository.py example not working on a local connection? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-ilorest-library.