meta-inspur: fp5280g2: Update led group config
Update the led-group-config.json and add warning & critical level.
Tested:
~# busctl tree xyz.openbmc_project.LED.GroupManager
`-/xyz
`-/xyz/openbmc_project
`-/xyz/openbmc_project/led
`-/xyz/openbmc_project/led/groups
|-/xyz/openbmc_project/led/groups/bmc_booted
|-/xyz/openbmc_project/led/groups/dimm_fault_critical
|-/xyz/openbmc_project/led/groups/dimm_fault_warning
|-/xyz/openbmc_project/led/groups/enclosure_identify
|-/xyz/openbmc_project/led/groups/enclosure_identify_blink
|-/xyz/openbmc_project/led/groups/fan_fault_critical
|-/xyz/openbmc_project/led/groups/fan_fault_warning
|-/xyz/openbmc_project/led/groups/lamp_test
|-/xyz/openbmc_project/led/groups/power_on
|-/xyz/openbmc_project/led/groups/powersupply_fault_critical
|-/xyz/openbmc_project/led/groups/powersupply_fault_warning
|-/xyz/openbmc_project/led/groups/system_fault_critical
|-/xyz/openbmc_project/led/groups/system_fault_warning
|-/xyz/openbmc_project/led/groups/system_hot_fault_critical
`-/xyz/openbmc_project/led/groups/system_hot_fault_warning
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I0b63e830ac1cb6b94c4f57c28fa8e281e0edf29e
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 1ff7009..32546d8 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,306 +20,6 @@
]
},
{
- "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": "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": [
{
@@ -330,6 +30,206 @@
"Priority": "On"
}
]
+ },
+ {
+ "group": "enclosure_identify",
+ "members": [
+ {
+ "Name": "identify",
+ "Action": "On",
+ "DutyOn": 50,
+ "Period": 0,
+ "Priority": "On"
+ }
+ ]
+ },
+ {
+ "group": "enclosure_identify_blink",
+ "members": [
+ {
+ "Name": "identify",
+ "Action": "Blink",
+ "DutyOn": 50,
+ "Period": 1000,
+ "Priority": "On"
+ }
+ ]
+ },
+ {
+ "group": "system_fault_warning",
+ "members": [
+ {
+ "Name": "front_syshealth",
+ "Action": "Blink",
+ "DutyOn": 50,
+ "Period": 1000,
+ "Priority": "On"
+ }
+ ]
+ },
+ {
+ "group": "system_fault_critical",
+ "members": [
+ {
+ "Name": "front_syshealth",
+ "Action": "On",
+ "DutyOn": 50,
+ "Period": 0,
+ "Priority": "On"
+ }
+ ]
+ },
+ {
+ "group": "dimm_fault_warning",
+ "members": [
+ {
+ "Name": "front_syshealth",
+ "Action": "Blink",
+ "DutyOn": 50,
+ "Period": 1000,
+ "Priority": "On"
+ },
+ {
+ "Name": "front_memory",
+ "Action": "Blink",
+ "DutyOn": 50,
+ "Period": 1000,
+ "Priority": "On"
+ }
+ ]
+ },
+ {
+ "group": "dimm_fault_critical",
+ "members": [
+ {
+ "Name": "front_syshealth",
+ "Action": "On",
+ "DutyOn": 50,
+ "Period": 0,
+ "Priority": "On"
+ },
+ {
+ "Name": "front_memory",
+ "Action": "On",
+ "DutyOn": 50,
+ "Period": 0,
+ "Priority": "On"
+ }
+ ]
+ },
+ {
+ "group": "system_hot_fault_warning",
+ "members": [
+ {
+ "Name": "front_syshealth",
+ "Action": "Blink",
+ "DutyOn": 50,
+ "Period": 1000,
+ "Priority": "On"
+ },
+ {
+ "Name": "front_syshot",
+ "Action": "Blink",
+ "DutyOn": 50,
+ "Period": 1000,
+ "Priority": "On"
+ }
+ ]
+ },
+ {
+ "group": "system_hot_fault_critical",
+ "members": [
+ {
+ "Name": "front_syshealth",
+ "Action": "On",
+ "DutyOn": 50,
+ "Period": 0,
+ "Priority": "On"
+ },
+ {
+ "Name": "front_syshot",
+ "Action": "On",
+ "DutyOn": 50,
+ "Period": 0,
+ "Priority": "On"
+ }
+ ]
+ },
+ {
+ "group": "fan_fault_warning",
+ "members": [
+ {
+ "Name": "front_syshealth",
+ "Action": "Blink",
+ "DutyOn": 50,
+ "Period": 1000,
+ "Priority": "On"
+ },
+ {
+ "Name": "front_fan",
+ "Action": "Blink",
+ "DutyOn": 50,
+ "Period": 1000,
+ "Priority": "On"
+ }
+ ]
+ },
+ {
+ "group": "fan_fault_critical",
+ "members": [
+ {
+ "Name": "front_syshealth",
+ "Action": "On",
+ "DutyOn": 50,
+ "Period": 0,
+ "Priority": "On"
+ },
+ {
+ "Name": "front_fan",
+ "Action": "On",
+ "DutyOn": 50,
+ "Period": 0,
+ "Priority": "On"
+ }
+ ]
+ },
+ {
+ "group": "powersupply_fault_warning",
+ "members": [
+ {
+ "Name": "front_syshealth",
+ "Action": "Blink",
+ "DutyOn": 50,
+ "Period": 1000,
+ "Priority": "On"
+ },
+ {
+ "Name": "front_psu",
+ "Action": "Blink",
+ "DutyOn": 50,
+ "Period": 1000,
+ "Priority": "On"
+ }
+ ]
+ },
+ {
+ "group": "powersupply_fault_critical",
+ "members": [
+ {
+ "Name": "front_syshealth",
+ "Action": "On",
+ "DutyOn": 50,
+ "Period": 0,
+ "Priority": "On"
+ },
+ {
+ "Name": "front_psu",
+ "Action": "On",
+ "DutyOn": 50,
+ "Period": 0,
+ "Priority": "On"
+ }
+ ]
}
]
-}
+}
\ No newline at end of file