Skip to content

Commit

Permalink
redfish/updateservice: Add struct field MultipartHTTPPushURI (stmcgin…
Browse files Browse the repository at this point in the history
…nis#166)

A service may support the MultipartHttpPushUri property within the
UpdateService resource.
A client can perform an HTTP or HTTPS POST request on the URI specified by this
property to initiate a push-based update.

ref: https://www.dmtf.org/sites/default/files/standards/documents/DSP0266_1.15.0.pdf
  • Loading branch information
joelrebel committed Mar 11, 2022
1 parent b419b39 commit 70dde36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions redfish/updateservice.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 26,8 @@ type UpdateService struct {
SoftwareInventory string
// HTTPPushURI endpoint is used to push (POST) firmware updates
HTTPPushURI string `json:"HttpPushUri"`
// MultipartHTTPPushURI endpoint is used to perform a multipart push (POST) updates
MultipartHTTPPushURI string `json:"MultiPartHttpPushUri"`
// ServiceEnabled indicates whether this service isenabled.
ServiceEnabled bool
// Status describes the status and health of a resource and its children.
Expand Down

0 comments on commit 70dde36

Please sign in to comment.