diff options
author | Matt Spinler <spinler@us.ibm.com> | 2019-03-12 00:35:35 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-04-25 20:00:03 +0300 |
commit | 8baeb194a9ef56183fbb1a1669353a530fdfd2a0 (patch) | |
tree | 34f160c0bec1bd11c6a7a6432501dc68e9583783 /meta-ibm | |
parent | 5896a23a772947bb149670beecf8a7178f78eca6 (diff) | |
download | openbmc-8baeb194a9ef56183fbb1a1669353a530fdfd2a0.tar.xz |
Add witherspoon inventory associations
Add the inventory association definitions for witherspoon.
With these, phosphor-inventory will create the
org.openbmc.Associations interface on the specified
inventory paths such that the object mapper will create
the association D-Bus objects.
These associations are used to associate inventory paths
to their fans, sensors, and LEDs.
(From meta-ibm rev: 1b3a22abadee18beae8307d1b76e701733281717)
Change-Id: I63d65ce81ee9d0dabe7c2f99d919bd7b115ded66
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-ibm')
2 files changed, 1406 insertions, 0 deletions
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/inventory/phosphor-inventory-manager/associations.json b/meta-ibm/meta-witherspoon/recipes-phosphor/inventory/phosphor-inventory-manager/associations.json new file mode 100644 index 0000000000..8231e6c476 --- /dev/null +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/inventory/phosphor-inventory-manager/associations.json @@ -0,0 +1,1398 @@ +[ + { + "path": "system/chassis/motherboard/powersupply0", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/power/ps0_input_power", + "/xyz/openbmc_project/sensors/voltage/ps0_input_voltage", + "/xyz/openbmc_project/sensors/current/ps0_output_current", + "/xyz/openbmc_project/sensors/voltage/ps0_output_voltage" + ] + }, + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/cffps1_69" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/powersupply1", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/power/ps1_input_power", + "/xyz/openbmc_project/sensors/voltage/ps1_input_voltage", + "/xyz/openbmc_project/sensors/current/ps1_output_current", + "/xyz/openbmc_project/sensors/voltage/ps1_output_voltage" + ] + }, + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/cffps1_68" + ] + } + + ] + }, + { + "path": "system/chassis/motherboard/fan0", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/fan_tach/fan0_0", + "/xyz/openbmc_project/sensors/fan_tach/fan0_1" + ] + }, + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/fan0" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/fan1", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/fan_tach/fan1_0", + "/xyz/openbmc_project/sensors/fan_tach/fan1_1" + ] + }, + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/fan1" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/fan2", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/fan_tach/fan2_0", + "/xyz/openbmc_project/sensors/fan_tach/fan2_1" + ] + }, + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/fan2" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/fan3", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/fan_tach/fan3_0", + "/xyz/openbmc_project/sensors/fan_tach/fan3_1" + ] + }, + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/fan3" + ] + } + ] + }, + { + "path": "system/chassis/motherboard", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/ambient", + "/xyz/openbmc_project/sensors/temperature/pcie" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/gv100card0", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/gpu0_core_temp", + "/xyz/openbmc_project/sensors/temperature/gpu0_mem_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/gv100card1", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/gpu1_core_temp", + "/xyz/openbmc_project/sensors/temperature/gpu1_mem_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/gv100card2", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/gpu2_core_temp", + "/xyz/openbmc_project/sensors/temperature/gpu2_mem_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/gv100card3", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/gpu3_core_temp", + "/xyz/openbmc_project/sensors/temperature/gpu3_mem_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/gv100card4", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/gpu4_core_temp", + "/xyz/openbmc_project/sensors/temperature/gpu4_mem_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/gv100card5", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/gpu5_core_temp", + "/xyz/openbmc_project/sensors/temperature/gpu5_mem_temp" + ] + } + ] + }, + + { + "path": "system/chassis/motherboard/cpu0/core0", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p0_core0_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core1", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p0_core1_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core2", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p0_core2_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core3", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p0_core3_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core4", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p0_core4_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core5", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p0_core5_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core6", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p0_core6_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core7", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p0_core7_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core8", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p0_core8_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core9", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p0_core9_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core10", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p0_core10_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core11", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p0_core11_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core12", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p0_core12_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core13", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p0_core13_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core14", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p0_core14_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core15", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p0_core15_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core16", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p0_core16_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core17", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p0_core17_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core18", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p0_core18_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core19", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p0_core19_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core20", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p0_core20_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core21", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p0_core21_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core22", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p0_core22_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core23", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p0_core23_temp" + ] + } + ] + }, + + { + "path": "system/chassis/motherboard/cpu1/core0", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p1_core0_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core1", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p1_core1_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core2", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p1_core2_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core3", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p1_core3_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core4", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p1_core4_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core5", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p1_core5_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core6", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p1_core6_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core7", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p1_core7_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core8", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p1_core8_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core9", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p1_core9_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core10", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p1_core10_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core11", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p1_core11_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core12", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p1_core12_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core13", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p1_core13_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core14", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p1_core14_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core15", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p1_core15_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core16", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p1_core16_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core17", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p1_core17_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core18", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p1_core18_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core19", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p1_core19_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core20", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p1_core20_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core21", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p1_core21_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core22", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p1_core22_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core23", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/p1_core23_temp" + ] + } + ] + }, + + { + "path": "system/chassis/motherboard/dimm0", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/dimm0_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm1", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/dimm1_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm2", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/dimm2_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm3", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/dimm3_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm4", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/dimm4_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm5", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/dimm5_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm6", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/dimm6_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm7", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/dimm7_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm8", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/dimm8_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm9", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/dimm9_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm10", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/dimm10_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm11", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/dimm11_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm12", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/dimm12_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm13", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/dimm13_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm14", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/dimm14_temp" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm15", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/dimm15_temp" + ] + } + ] + } +] diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/inventory/phosphor-inventory-manager_%.bbappend b/meta-ibm/meta-witherspoon/recipes-phosphor/inventory/phosphor-inventory-manager_%.bbappend new file mode 100644 index 0000000000..5e3aff476d --- /dev/null +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/inventory/phosphor-inventory-manager_%.bbappend @@ -0,0 +1,8 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" +PACKAGECONFIG_append = " associations" +SRC_URI += "file://associations.json" + +do_install_append() { + install -d ${D}${base_datadir} + install -m 0755 ${WORKDIR}/associations.json ${D}${base_datadir}/associations.json +} |