diff options
author | George Liu <liuxiwei@inspur.com> | 2020-07-23 12:54:14 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-09-04 18:48:26 +0300 |
commit | f6f3328c6831148f10c85b9d29a6d1217b229f9e (patch) | |
tree | 00b8e146375520a4f285a590a3b38e6a454a0aa2 /meta-inspur/meta-fp5280g2/recipes-phosphor | |
parent | 05b628c46e40112382ce268517387c02070a08e8 (diff) | |
download | openbmc-f6f3328c6831148f10c85b9d29a6d1217b229f9e.tar.xz |
fp5280g2: leds: Add JSON configuration file having Group definition
This commit adds the JSON configuration file having LED Group definitions
and also enables using JSON at runtime than using the compile time
generated group definition from YAML.
(From meta-inspur rev: 88e5fee64a82d51e3f10137e9248a5aa72201c06)
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Idba650ab8e9df85eaca266ffd678baa48d9c91f3
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-inspur/meta-fp5280g2/recipes-phosphor')
-rw-r--r-- | meta-inspur/meta-fp5280g2/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json | 588 |
1 files changed, 588 insertions, 0 deletions
diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json b/meta-inspur/meta-fp5280g2/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json index 43dbdc93e..9db14cb0a 100644 --- a/meta-inspur/meta-fp5280g2/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json +++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json @@ -20,6 +20,594 @@ ] }, { + "group": "bmc_fault", + "members": [ + { + "Name": "front_syshealth", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "dimm0_fault", + "members": [ + { + "Name": "front_memory", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "dimm1_fault", + "members": [ + { + "Name": "front_memory", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "dimm2_fault", + "members": [ + { + "Name": "front_memory", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "dimm3_fault", + "members": [ + { + "Name": "front_memory", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "dimm4_fault", + "members": [ + { + "Name": "front_memory", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "dimm5_fault", + "members": [ + { + "Name": "front_memory", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "dimm6_fault", + "members": [ + { + "Name": "front_memory", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "dimm7_fault", + "members": [ + { + "Name": "front_memory", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "dimm8_fault", + "members": [ + { + "Name": "front_memory", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "dimm9_fault", + "members": [ + { + "Name": "front_memory", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "dimm10_fault", + "members": [ + { + "Name": "front_memory", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "dimm11_fault", + "members": [ + { + "Name": "front_memory", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "dimm12_fault", + "members": [ + { + "Name": "front_memory", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "dimm13_fault", + "members": [ + { + "Name": "front_memory", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "dimm14_fault", + "members": [ + { + "Name": "front_memory", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "dimm15_fault", + "members": [ + { + "Name": "front_memory", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "cpu0_fault", + "members": [ + { + "Name": "front_syshot", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "cpu1_fault", + "members": [ + { + "Name": "front_syshot", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "core0_fault", + "members": [ + { + "Name": "front_syshot", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "core1_fault", + "members": [ + { + "Name": "front_syshot", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "core2_fault", + "members": [ + { + "Name": "front_syshot", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "core3_fault", + "members": [ + { + "Name": "front_syshot", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "core4_fault", + "members": [ + { + "Name": "front_syshot", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "core5_fault", + "members": [ + { + "Name": "front_syshot", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "core6_fault", + "members": [ + { + "Name": "front_syshot", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "core7_fault", + "members": [ + { + "Name": "front_syshot", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "core8_fault", + "members": [ + { + "Name": "front_syshot", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "core9_fault", + "members": [ + { + "Name": "front_syshot", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "core10_fault", + "members": [ + { + "Name": "front_syshot", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "core11_fault", + "members": [ + { + "Name": "front_syshot", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "core12_fault", + "members": [ + { + "Name": "front_syshot", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "core13_fault", + "members": [ + { + "Name": "front_syshot", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "core14_fault", + "members": [ + { + "Name": "front_syshot", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "core15_fault", + "members": [ + { + "Name": "front_syshot", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "core16_fault", + "members": [ + { + "Name": "front_syshot", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "core17_fault", + "members": [ + { + "Name": "front_syshot", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "core18_fault", + "members": [ + { + "Name": "front_syshot", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "core19_fault", + "members": [ + { + "Name": "front_syshot", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "core20_fault", + "members": [ + { + "Name": "front_syshot", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "core21_fault", + "members": [ + { + "Name": "front_syshot", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "core22_fault", + "members": [ + { + "Name": "front_syshot", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "core23_fault", + "members": [ + { + "Name": "front_syshot", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "fan0_fault", + "members": [ + { + "Name": "front_fan", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + } + ] + }, + { + "group": "fan1_fault", + "members": [ + { + "Name": "front_fan", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + } + ] + }, + { + "group": "fan2_fault", + "members": [ + { + "Name": "front_fan", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + } + ] + }, + { + "group": "fan3_fault", + "members": [ + { + "Name": "front_fan", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + } + ] + }, + { + "group": "powersupply0_fault", + "members": [ + { + "Name": "front_psu", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + } + ] + }, + { + "group": "powersupply1_fault", + "members": [ + { + "Name": "front_psu", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + } + ] + }, + { "group": "power_on", "members": [ { |