add multi-host support in the phosphor-post-code-manager

Ren, Zhikui zhikui.ren at intel.com
Wed Jul 22 03:10:04 AEST 2020


I would think that one process to handle all post-code is a cleaner design. 

-----Original Message-----
From: openbmc <openbmc-bounces+zhikui.ren=intel.com at lists.ozlabs.org> On Behalf Of Manikandan
Sent: Monday, July 20, 2020 9:00 AM
To: openbmc at lists.ozlabs.org
Cc: Wang, Kuiying <kuiying.wang at intel.com>; velumanit at hcl.com; manikandan.e at hcl.com
Subject: add multi-host support in the phosphor-post-code-manager

Hi All,

 We woukld like to get opion on below multi-host support approaches.

Background :
------------
  The Phosphor-post-code-manager supports only host to store/retrieve the host postcode history.

Approaches:
-----------
Approach 1: << run the multiple process >>

Create and run the multiple phosphor-post-code-manager process to handle each host postcode history.

   xyz.openbmc_project.State.Host0.Boot.PostCode
   xyz.openbmc_project.State.Host1.Boot.PostCode
   xyz.openbmc_project.State.Host2.Boot.PostCode
   xyz.openbmc_project.State.Host3.Boot.PostCode

Approach 2: << pass number of host to single process >>

Pass number of host to single process phosphor-post-code-manager to register dbus object and handle each host postcode.

   xyz.openbmc_project.State.Host0.Boot.PostCode
   xyz.openbmc_project.State.Host1.Boot.PostCode
   xyz.openbmc_project.State.Host2.Boot.PostCode
   xyz.openbmc_project.State.Host3.Boot.PostCode


Thanks
Mani.E


More information about the openbmc mailing list