Multi host bios upgrade support in phosphor-bmc-code-mgmt:

P. Priyatharshan PriyatharshanP at hcl.com
Tue Sep 22 03:49:14 AEST 2020


Hi ,

Phosphor-software-manager currently supports bios upgrade for a single host.I would like to propose a design to add multi host bios upgrade support in Phosphor-software-manager.

Kindly review the below proposal and share your valuable comments.

Design:

a) : Add Host Number

1) MANIFEST file change:

Add  host number in MANIFEST file, purpose field like below.

Ex:
For Host1,  purpose=xyz.openbmc_project.Software.Version.VersionPurpose.Host1
For Host2,  purpose=xyz.openbmc_project.Software.Version.VersionPurpose.Host2 and So on.

2) For bios upgrade, handle the same to incorporate the host number and send host number to the systemd service obmc-flash-host-bios at service like below.

  if (host.empty())
    {
        auto biosServiceFile = "obmc-flash-host-bios@" + versionId + ".service";
    }
    else
    {
        auto biosServiceFile =
            "obmc-flash-host-bios@" + versionId + "_" + host + ".service";
    }

b) : Implement a generic IPMI based multi-host bios upgrade.

1) This generic implementation expects a json config file with the details like IPMI net function , command id, and etc and process the bios upgrade via ipmi commands.


Thanks,
Priyatharshan P
::DISCLAIMER::
________________________________
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.
________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20200921/bf1fc07f/attachment-0001.htm>


More information about the openbmc mailing list