D-Bus interfaces for FRU VPD inventory
Deepak Kodihalli
dkodihal at linux.vnet.ibm.com
Thu Nov 17 17:14:20 AEDT 2016
On 17/11/16 11:35 am, Yi TZ Li wrote:
> Thanks for the response.
> Deepak Kodihalli <dkodihal at linux.vnet.ibm.com> wrote on 11/16/2016
> 08:29:17 PM:
>>
>> > Also there are other FRU items like PCIE card, HDD. How to handle them
>> > in the new inventory framework?
>>
>> Do you mean handle their VPD (if any), or in general creating d-bus
>> objects for them? I'm not sure about the latter.
>
> There are some inventory items without VPD, e.g:
>
> https://github.com/openbmc/skeleton/blob/master/configs/Barreleye.py#L133
>
> "'<inventory_root>/system/chassis/io_board/pcie_slot0_riser' : {
> 'fru_type' : 'PCIE_RISER', 'is_fru' : True,},
> '<inventory_root>/system/chassis/io_board/pcie_slot1_riser' : {
> 'fru_type' : 'PCIE_RISER', 'is_fru' : True,},
> '<inventory_root>/system/chassis/io_board/pcie_slot2_riser' : {
> 'fru_type' : 'PCIE_RISER', 'is_fru' : True,},
> '<inventory_root>/system/chassis/io_board/pcie_slot0' : { 'fru_type' :
> 'PCIE_CARD', 'is_fru' : True,},
> '<inventory_root>/system/chassis/io_board/pcie_slot1' : { 'fru_type' :
> 'PCIE_CARD', 'is_fru' : True,},
> '<inventory_root>/system/chassis/io_board/pcie_slot2' : { 'fru_type' :
> 'PCIE_CARD', 'is_fru' : True,},
> '<inventory_root>/system/chassis/io_board/pcie_mezz0' : { 'fru_type' :
> 'PCIE_CARD', 'is_fru' : True,},
> '<inventory_root>/system/chassis/io_board/pcie_mezz1' : { 'fru_type' :
> 'PCIE_CARD', 'is_fru' : True,},
>
> "
> Will the new inventory manager handle these items too? This looks like
> off the topic.
I have the same question myself. I'm guessing yes, but not sure what
triggers PIM to create objects for these.
> But I saw your patch is divided into two groups:
> "xyz/openbmc_project/Inventory", and "xyz/openpower/Inventory".
> Where do we put the inventory items above?
The paths you mention above are interface paths, not necessarily object
paths.
> Thanks,
> -Yi
Regards,
Deepak
More information about the openbmc
mailing list