dell / iDRAC-Redfish-Scripting

Python and PowerShell scripting for Dell EMC PowerEdge iDRAC REST API with DMTF Redfish
GNU General Public License v2.0
584 stars 273 forks source link

DELL/iDRAC -Redfish #277

Closed yograj099 closed 5 months ago

yograj099 commented 6 months ago

While retrieving the information through Redfish ,Do we need to provide "Headers" ? If yes , for Dell what is the Key-Value pair I have to provide ? I am using Postman tool for this. If we do not provide , whether it will read info through DCI ? Thanks in advance !

yograj099 commented 6 months ago

https://10.x.x.x/redfish/v1/Chassis/System.Embedded.1/NetworkAdapters/FC.Slot.2/

How can I make sure that the information which I am getting is through RDE ? Is there any particular parameter ?

texroemer commented 6 months ago

Hi @yograj099

For running any Redfish request (GET, PATCH, POST, DELETE) headers are optional and when using Python, Curl, Postman they are also not required. But when running Redfish calls using Powershell, Powershell will require you to pass in a header which will usually be -ContentType "application/json".

Thanks Tex

yograj099 commented 6 months ago

For other OEM (while using Postman) , If I dont apply header value as "RDE" , information is retrieved through DCI. Is it same for DELL ?

texroemer commented 6 months ago

Currently iDRAC supports pulling data from devices using PLDM but have future plans to add RDE.

Thanks Tex

yograj099 commented 5 months ago

Thank you for the info !!!