diff options
author | Sunny Srivastava <sunnsr25@in.ibm.com> | 2022-04-19 19:55:02 +0300 |
---|---|---|
committer | Myung Bae <myungbae@us.ibm.com> | 2024-02-01 17:39:53 +0300 |
commit | c5f8058613ea0a242ccdc744dfceea2c7233f867 (patch) | |
tree | f3835f7ca773d6150483a056de84e63e210b1333 /meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,everest_associations.json | |
parent | 0ca9d72f8c77a845b21e4bc9b7e752770c5bf5b7 (diff) | |
download | openbmc-c5f8058613ea0a242ccdc744dfceea2c7233f867.tar.xz |
meta-ibm: Link PCIeSlots to Processor association
This commit is to populate link(s) to processor associated with given
PCIeDevice which is established via the assoication with PCIeSlot.
https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/65076
Tested:
- dbus has the association between processor and slot
```
/xyz/openbmc_project/inventory/system/chassis/motherboard/pcieslot10 \
xyz.openbmc_project.Association.Definitions Associations
...
"connected_to" "connecting" "/xyz/openbmc_project/inventory/system/chassis/motherboard/dcm0/cpu0"
```
Change-Id: I983c8444e4e3b206c60cf86c83d5b5cbf575f386
Signed-off-by: Myung Bae <myungbae@us.ibm.com>
Diffstat (limited to 'meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,everest_associations.json')
-rw-r--r-- | meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,everest_associations.json | 187 |
1 files changed, 187 insertions, 0 deletions
diff --git a/meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,everest_associations.json b/meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,everest_associations.json index c4acef031b..f9d91b3ea0 100644 --- a/meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,everest_associations.json +++ b/meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,everest_associations.json @@ -4637,6 +4637,193 @@ ] } ] + }, + { + "path": "/system/chassis/motherboard/pcieslot1", + "endpoints": + [ + { + "types": + { + "rType": "connecting", + "fType": "connected_to" + }, + "paths": + [ + "/xyz/openbmc_project/inventory/system/chassis/motherboard/dcm0/cpu0" + ] + } + ] + }, + { + "path": "/system/chassis/motherboard/pcieslot2", + "endpoints": + [ + { + "types": + { + "rType": "connecting", + "fType": "connected_to" + }, + "paths": + [ + "/xyz/openbmc_project/inventory/system/chassis/motherboard/dcm2/cpu1" + ] + } + ] + }, + { + "path": "/system/chassis/motherboard/pcieslot3", + "endpoints": + [ + { + "types": + { + "rType": "connecting", + "fType": "connected_to" + }, + "paths": + [ + "/xyz/openbmc_project/inventory/system/chassis/motherboard/dcm2/cpu1" + ] + } + ] + }, + { + "path": "/system/chassis/motherboard/pcieslot4", + "endpoints": + [ + { + "types": + { + "rType": "connecting", + "fType": "connected_to" + }, + "paths": + [ + "/xyz/openbmc_project/inventory/system/chassis/motherboard/dcm2/cpu0" + ] + } + ] + }, + { + "path": "/system/chassis/motherboard/pcieslot5", + "endpoints": + [ + { + "types": + { + "rType": "connecting", + "fType": "connected_to" + }, + "paths": + [ + "/xyz/openbmc_project/inventory/system/chassis/motherboard/dcm2/cpu0" + ] + } + ] + }, + { + "path": "/system/chassis/motherboard/pcieslot6", + "endpoints": + [ + { + "types": + { + "rType": "connecting", + "fType": "connected_to" + }, + "paths": + [ + "/xyz/openbmc_project/inventory/system/chassis/motherboard/dcm1/cpu1" + ] + } + ] + }, + { + "path": "/system/chassis/motherboard/pcieslot7", + "endpoints": + [ + { + "types": + { + "rType": "connecting", + "fType": "connected_to" + }, + "paths": + [ + "/xyz/openbmc_project/inventory/system/chassis/motherboard/dcm1/cpu1" + ] + } + ] + }, + { + "path": "/system/chassis/motherboard/pcieslot8", + "endpoints": + [ + { + "types": + { + "rType": "connecting", + "fType": "connected_to" + }, + "paths": + [ + "/xyz/openbmc_project/inventory/system/chassis/motherboard/dcm1/cpu1" + ] + } + ] + }, + { + "path": "/system/chassis/motherboard/pcieslot9", + "endpoints": + [ + { + "types": + { + "rType": "connecting", + "fType": "connected_to" + }, + "paths": + [ + "/xyz/openbmc_project/inventory/system/chassis/motherboard/dcm1/cpu0" + ] + } + ] + }, + { + "path": "/system/chassis/motherboard/pcieslot10", + "endpoints": + [ + { + "types": + { + "rType": "connecting", + "fType": "connected_to" + }, + "paths": + [ + "/xyz/openbmc_project/inventory/system/chassis/motherboard/dcm1/cpu0" + ] + } + ] + }, + { + "path": "/system/chassis/motherboard/pcieslot11", + "endpoints": + [ + { + "types": + { + "rType": "connecting", + "fType": "connected_to" + }, + "paths": + [ + "/xyz/openbmc_project/inventory/system/chassis/motherboard/dcm1/cpu0" + ] + } + ] } ] } |