HewlettPackard / python-ilorest-library

Python library for interacting with devices which support a Redfish Service
Apache License 2.0
189 stars 92 forks source link

Update set_ESKM_PrimaryKeyServer.py #85

Closed Shirish-Jadhav closed 4 years ago

Shirish-Jadhav commented 4 years ago

post will not work need to use patch method...

rajeevkallur commented 4 years ago

Is this tested? If so, please attach the output

Shirish-Jadhav commented 4 years ago

if you do patch ..

below is the output

Success!

{ "error": { "@Message.ExtendedInfo": [ { "MessageId": "Base.1.4.Success" } ], "code": "iLO.0.10.ExtendedInfo", "message": "See @Message.ExtendedInfo for more information." } }

if you do post below is the output

Found resource directory at /redfish/v1/resourcedirectory

[ { "MessageArgs": [ "Action" ], "MessageId": "Base.1.4.PropertyMissing" } ]