We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When querying the mockup server for NVMe drives, the drives only have an @odata.id field with no other fields:
@odata.id
>>> import redfish >>> con = redfish.redfish_client(base_url="http://127.0.0.1:8000") >>> drives = con.get("/redfish/v1/Systems/AccessModule1/Storage/NVMe?expand=.($levels=1)", None).obj.Drives >>> drives[0] {'@odata.id': '/redfish/v1/Chassis/Chassis/Drives/0'}
Contrast this with a real server:
>>> import redfish >>> con = redfish.redfish_client(base_url="https://real-redfish-server") >>> con.login() >>> drives = con.get("/redfish/v1/Systems/AccessModule1/Storage/NVMe?expand=.($levels=1)", None).obj.Drives >>> drives[0].keys() dict_keys(['@odata.context', '@odata.type', '@odata.id', 'Id', 'Name', 'Status', 'PhysicalLocation', 'Links', 'Oem', 'MediaType', 'Protocol', 'Model', 'Manufacturer', 'PartNumber', 'SerialNumber', 'CapacityBytes', 'CapableSpeedGbs', 'Revision', 'PredictedMediaLifeLeftPercent', 'IndicatorLED', 'Assembly'])
The text was updated successfully, but these errors were encountered:
I think we have this issue already covered in the request for #72
The current $expand support has a limitation to only work on collections and go one level in depth.
Sorry, something went wrong.
Discussion from the call: The group agrees this is lacking and is already covered in the request for issue #72 to enhance the $expand support.
No branches or pull requests
When querying the mockup server for NVMe drives, the drives only have an
@odata.id
field with no other fields:Contrast this with a real server:
The text was updated successfully, but these errors were encountered: