diff options
author | George Liu <liuxiwei@inspur.com> | 2020-07-23 12:50:40 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-09-04 18:48:27 +0300 |
commit | b0608b63e3e884244041bdb474926dbd9b253aec (patch) | |
tree | 6c58497fe2242861bb095307fe2e8f8a98723846 /meta-inspur | |
parent | f6f3328c6831148f10c85b9d29a6d1217b229f9e (diff) | |
download | openbmc-b0608b63e3e884244041bdb474926dbd9b253aec.tar.xz |
fp5280g2: Add inventory associations
Add the inventory association definitions for fp5280g2.
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.
(From meta-inspur rev: 905805b127fc940a28a2a6378494c5efd43f0d15)
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Iafd298c9b788cae32adae22e71f44ec72ef4b746
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-inspur')
2 files changed, 2156 insertions, 0 deletions
diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/inventory/phosphor-inventory-manager/associations.json b/meta-inspur/meta-fp5280g2/recipes-phosphor/inventory/phosphor-inventory-manager/associations.json new file mode 100644 index 0000000000..4a040faa5b --- /dev/null +++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/inventory/phosphor-inventory-manager/associations.json @@ -0,0 +1,2148 @@ +[ + { + "path": "system/chassis/motherboard/powersupply0", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/power/psu0_pin", + "/xyz/openbmc_project/sensors/power/psu0_pout", + "/xyz/openbmc_project/sensors/voltage/psu0_vin", + "/xyz/openbmc_project/sensors/voltage/psu0_vout", + "/xyz/openbmc_project/sensors/temperature/psu_inlet", + "/xyz/openbmc_project/sensors/voltage/P12V", + "/xyz/openbmc_project/sensors/voltage/P3V3" + ] + }, + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front_psu" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/powersupply0_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/powersupply1", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/power/psu1_pin", + "/xyz/openbmc_project/sensors/power/psu1_pout", + "/xyz/openbmc_project/sensors/voltage/psu1_vin", + "/xyz/openbmc_project/sensors/voltage/psu1_vout", + "/xyz/openbmc_project/sensors/temperature/psu_inlet", + "/xyz/openbmc_project/sensors/voltage/P12V", + "/xyz/openbmc_project/sensors/voltage/P3V3" + ] + }, + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front_psu" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/powersupply1_fault" + ] + } + ] + }, + { + "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/front_fan" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/fan0_fault" + ] + } + ] + }, + { + "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/front_fan" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/fan1_fault" + ] + } + ] + }, + { + "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/front_fan" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/fan2_fault" + ] + } + ] + }, + { + "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/front_fan" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/fan3_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/inlet", + "/xyz/openbmc_project/sensors/temperature/bmc_zone", + "/xyz/openbmc_project/sensors/voltage/PVDD_CPU0", + "/xyz/openbmc_project/sensors/voltage/PVCS_CPU0", + "/xyz/openbmc_project/sensors/voltage/PVDDQ_CPU0_CH01", + "/xyz/openbmc_project/sensors/voltage/PVDDQ_CPU0_CH67", + "/xyz/openbmc_project/sensors/voltage/PVDN_CPU0", + "/xyz/openbmc_project/sensors/voltage/PVIO_CPU0", + "/xyz/openbmc_project/sensors/voltage/PVDD_CPU1", + "/xyz/openbmc_project/sensors/voltage/PVCS_CPU1", + "/xyz/openbmc_project/sensors/voltage/PVDDQ_CPU1_CH01", + "/xyz/openbmc_project/sensors/voltage/PVDDQ_CPU1_CH67", + "/xyz/openbmc_project/sensors/voltage/PVDN_CPU1", + "/xyz/openbmc_project/sensors/voltage/PVIO_CPU1" + ] + }, + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front_syshealth" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/bmc_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core0", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core0_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core1", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core1_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core2", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core2_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core3", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core3_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core4", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core4_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core5", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core5_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core6", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core6_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core7", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core7_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core8", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core8_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core9", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core9_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core10", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core10_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core11", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core11_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core12", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core12_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core13", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core13_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core14", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core14_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core15", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core15_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core16", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core16_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core17", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core17_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core18", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core18_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core19", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core19_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core20", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core20_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core21", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core21_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core22", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core22_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0/core23", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core23_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core0", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core0_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core1", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core1_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core2", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core2_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core3", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core3_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core4", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core4_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core5", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core5_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core6", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core6_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core7", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core7_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core8", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core8_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core9", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core9_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core10", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core10_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core11", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core11_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core12", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core12_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core13", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core13_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core14", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core14_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core15", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core15_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core16", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core16_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core17", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core17_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core18", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core18_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core19", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core19_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core20", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core20_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core21", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core21_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core22", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core22_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1/core23", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-syshot" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/core23_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm0", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-memory" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/dimm0_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm1", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-memory" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/dimm1_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm2", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-memory" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/dimm2_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm3", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-memory" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/dimm3_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm4", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-memory" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/dimm4_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm5", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-memory" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/dimm5_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm6", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-memory" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/dimm6_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm7", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-memory" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/dimm7_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm8", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-memory" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/dimm8_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm9", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-memory" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/dimm9_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm10", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-memory" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/dimm10_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm11", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-memory" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/dimm11_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm12", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-memory" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/dimm12_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm13", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-memory" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/dimm13_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm14", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-memory" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/dimm14_fault" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/dimm15", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/front-memory" + ] + }, + { + "types": + { + "rType": "fru", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/dimm15_fault" + ] + } + ] + }, + { + "path": "system/chassis", + "endpoints": + [ + { + "types": + { + "rType": "chassis", + "fType": "all_sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/fan_tach/fan0_0", + "/xyz/openbmc_project/sensors/fan_tach/fan0_1", + "/xyz/openbmc_project/sensors/fan_tach/fan1_0", + "/xyz/openbmc_project/sensors/fan_tach/fan1_1", + "/xyz/openbmc_project/sensors/fan_tach/fan2_0", + "/xyz/openbmc_project/sensors/fan_tach/fan2_1", + "/xyz/openbmc_project/sensors/fan_tach/fan3_0", + "/xyz/openbmc_project/sensors/fan_tach/fan3_1", + "/xyz/openbmc_project/sensors/temperature/inlet", + "/xyz/openbmc_project/sensors/temperature/outlet", + "/xyz/openbmc_project/sensors/temperature/ocp_zone", + "/xyz/openbmc_project/sensors/temperature/bmc_zone", + "/xyz/openbmc_project/sensors/voltage/P12V", + "/xyz/openbmc_project/sensors/voltage/P3V3", + "/xyz/openbmc_project/sensors/voltage/P5V", + "/xyz/openbmc_project/sensors/voltage/PVCS_CPU0", + "/xyz/openbmc_project/sensors/voltage/PVCS_CPU1", + "/xyz/openbmc_project/sensors/voltage/PVDDQ_CPU0_CH01", + "/xyz/openbmc_project/sensors/voltage/PVDDQ_CPU0_CH067", + "/xyz/openbmc_project/sensors/voltage/PVDDQ_CPU1_CH01", + "/xyz/openbmc_project/sensors/voltage/PVDDQ_CPU1_CH067", + "/xyz/openbmc_project/sensors/voltage/PVDD_CPU0", + "/xyz/openbmc_project/sensors/voltage/PVDD_CPU1", + "/xyz/openbmc_project/sensors/voltage/PVDN_CPU0", + "/xyz/openbmc_project/sensors/voltage/PVDN_CPU1", + "/xyz/openbmc_project/sensors/voltage/PVIO_CPU0", + "/xyz/openbmc_project/sensors/voltage/PVIO_CPU1", + "/xyz/openbmc_project/sensors/power/psu0_pin", + "/xyz/openbmc_project/sensors/power/psu0_pout", + "/xyz/openbmc_project/sensors/power/psu1_pin", + "/xyz/openbmc_project/sensors/power/psu1_pout", + "/xyz/openbmc_project/sensors/voltage/psu0_vin", + "/xyz/openbmc_project/sensors/voltage/psu0_vout", + "/xyz/openbmc_project/sensors/voltage/psu1_vin", + "/xyz/openbmc_project/sensors/voltage/psu1_vout", + "/xyz/openbmc_project/sensors/temperature/psu_inlet" + ] + } + ] + } +] diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/inventory/phosphor-inventory-manager_%.bbappend b/meta-inspur/meta-fp5280g2/recipes-phosphor/inventory/phosphor-inventory-manager_%.bbappend new file mode 100644 index 0000000000..6f8a60ec6a --- /dev/null +++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/inventory/phosphor-inventory-manager_%.bbappend @@ -0,0 +1,8 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" +PACKAGECONFIG_append = " associations" +SRC_URI_append = " file://associations.json" + +do_install_append() { + install -d ${D}${base_datadir} + install -m 0755 ${WORKDIR}/associations.json ${D}${base_datadir}/associations.json +} |