본문으로 건너뛰기

POST – 펌웨어 업데이트 시작

이 작업은 ImageURI 매개 변수에서 참조하는 URI에 있는 소프트웨어 이미지 파일에 포함된 설치된 소프트웨어 구성 요소의 업데이트를 수행할 수 있습니다.

요청 URL

https://<SMM_IPADDR>/redfish/v1/UpdateService/Actions/UpdateService.StartUpdate

요청 본문

필드

유형

설명

Actions

객체

필수, 업데이트할 펌웨어의 URI입니다.
  • SMM3 펌웨어 업데이트: "/redfish/v1/Managers/bmc".

  • 전원 공급 장치 펌웨어 업데이트: “/redfish/v1/Chassis/chassis1/PowerSubsystm/PowerSupplies”

 

#UpdateService.StartUpdate

객체

  

target

문자열

 

OEM

객체

플래시 전류 또는 대체 부팅 섹션을 나타내는 것은 필요하지 않습니다.

  

Lenovo

객체

   

RecoverAltboot

부울

응답 본문

해당사항 없음

푸시 업데이트의 예:

Direct POST:
curl -k -H <Authentication> -H "Content-Type: application/json"-X POST -d '{"target": <update target>}'https://${SMM3 port}/redfish/v1/UpdateService/Actions/UpdateService.StartUpdate
  • <Authentication>
    • BasicAuth(예: -u user:password 또는 -H "X-Auth-Token: Basic <encoding string>")
    • X-Auth-Token(예: -H "X-Auth-Token: <token string>")
  • <update target>
    • 예: “/redfish/v1/Managers/bmc” 또는 “/redfish/v1/Chassis/chassis1/PowerSubsystm/PowerSupplies”