diff options
Diffstat (limited to 'meta-inspur/meta-fp5280g2/recipes-phosphor/inventory')
4 files changed, 2189 insertions, 0 deletions
diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/inventory/phosphor-inventory-manager-chassis.bb b/meta-inspur/meta-fp5280g2/recipes-phosphor/inventory/phosphor-inventory-manager-chassis.bb new file mode 100644 index 000000000..11ff66261 --- /dev/null +++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/inventory/phosphor-inventory-manager-chassis.bb @@ -0,0 +1,18 @@ +SUMMARY = "Add Chassis interface for inventory manager" +PR = "r1" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" + +inherit allarch +inherit phosphor-inventory-manager + +PROVIDES += "virtual/phosphor-inventory-manager-chassis" +S = "${WORKDIR}" + +SRC_URI = "file://chassis.yaml" + +do_install() { + install -D chassis.yaml ${D}${base_datadir}/events.d/chassis.yaml +} + +FILES_${PN} += "${base_datadir}/events.d/chassis.yaml" diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/inventory/phosphor-inventory-manager-chassis/chassis.yaml b/meta-inspur/meta-fp5280g2/recipes-phosphor/inventory/phosphor-inventory-manager-chassis/chassis.yaml new file mode 100644 index 000000000..b5c548ece --- /dev/null +++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/inventory/phosphor-inventory-manager-chassis/chassis.yaml @@ -0,0 +1,13 @@ +events: + - name: Add Chassis interface + description: > + Add the chassis interface on the chassis inventory path + type: startup + actions: + - name: createObjects + objs: + /system/chassis: + xyz.openbmc_project.Inventory.Item.Chassis: + Type: + value: "RackMount" + type: string 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 000000000..4a040faa5 --- /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 000000000..e4206678f --- /dev/null +++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/inventory/phosphor-inventory-manager_%.bbappend @@ -0,0 +1,10 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" +PACKAGECONFIG_append = " associations" +SRC_URI_append = " file://associations.json" + +DEPENDS_append_fp5280g2 = " phosphor-inventory-manager-chassis" + +do_install_append() { + install -d ${D}${base_datadir} + install -m 0755 ${WORKDIR}/associations.json ${D}${base_datadir}/associations.json +} |