|
Post by scottbusi on Apr 16, 2021 17:18:25 GMT
We are trying to understand why the three methods below have such different times to perform a get
/redfish/v1/Systems/Self POSTMAN 10.17s CURL 17.01s python script 20.356
Assumption is that each one 1) Login 2) Create Session 3) Perform GET 4) Logout
curl command curl --globoff -H "Content-Type: application/json" -k -X GET --user Administrator:superuser https://<BMC IP>/redfish/v1/Systems/Self | python -m json.tool
Python script REDFISHOBJ = redfish.redfish_client(base_url=BMC_IP, username=LOGIN, password=PASSWRD)
# Login to the server
REDFISHOBJ.login()
# Perform a GET operation
response = REDFISHOBJ.get("/redfish/v1/Systems/Self", None)
print (response)
# Logout the created session
REDFISHOBJ.logout()
|
|