UpdateService in Redfish

Henbin Chang henbinchang at gmail.com
Tue Aug 21 18:01:38 AEST 2018


Hi Ed,
I search the below commit in the bmcweb REPO.

commit acb7cfb4b571bd2045b1d269625ba054806a466d
Author: Jennifer Lee <jennifer1.lee at intel.com>
Date:   Thu Jun 7 16:08:15 2018 -0700

    Implement POST for redfish UpdateService

    - POST an image file to /redfish/v1/UpdateServer uri will upload the
      image and activate it
    - Modified SoftwareInventoryCollection to list items with
      xyz.openbmc_project.Software.Activation/Activation property as
    "xyz.openbmc_project.Software.Activation.Activations.Active"
    - SoftwareInventory odata.id is identified with DBus generated uuid

May I know if BMC FW can be updated through UpdateService in Redfish?
If yes, could you share how to use it?

Besides that, I add some debug message in
the redfish-core/lib/update_service.hpp but output nothing

Could you give some suggestion?
...
private:
  void doGet(crow::Response &res, const crow::Request &req,
             const std::vector<std::string> &params) override {
    std::cout << "Henbin=" << __FILE__<< ": "<<__LINE__ << "\n";
BMCWEB_LOG_INFO << "Henbin=" << __FILE__<< ": "<<__LINE__ << "\n";
    res.jsonValue = Node::json;
    res.end();
  }
...

Thanks.

BRs,
Henbin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20180821/95ff05c4/attachment.html>


More information about the openbmc mailing list