cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
191
Views
0
Helpful
2
Replies

UCS API using Redfish to change Timezone

alain.pellmont
Level 5
Level 5

Hi together

I try to configure the UCS timezone via the Redfish API, the only thing that I found so fare was:

Changing "DateTimeLocalOffset", this works so far to change the utc / localtime. but not the correct timezone.

UCS timezone.png

Did anybody manage to set the timezone via redfish ? Via XML it is possible.

Thanks

Alain

 

 

1 Accepted Solution

Accepted Solutions

Brian Morrissey
Cisco Employee
Cisco Employee

This worked on a C220-M5 runing 4.2(3e)

 

curl -k -u username:password https://cimc_ip/redfish/v1/Managers/CIMC --request PATCH --data "{\"TimeZoneName\":\"Africa/Bangui\"}"

View solution in original post

2 Replies 2

Brian Morrissey
Cisco Employee
Cisco Employee

This worked on a C220-M5 runing 4.2(3e)

 

curl -k -u username:password https://cimc_ip/redfish/v1/Managers/CIMC --request PATCH --data "{\"TimeZoneName\":\"Africa/Bangui\"}"

Thanks, will upgrade my CIMC

Review Cisco Networking for a $25 gift card