summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Liu <liuxiwei@inspur.com>2022-11-17 11:56:34 +0300
committerGeorge Liu <liuxiwei@inspur.com>2022-11-21 15:37:58 +0300
commit6d022e1901e704dbb5bbdf9fd84ca26c86955a68 (patch)
treeed4728929946407e848ba6b47203e28c94d6ab4b
parentbf5597ffef31759b661239dbccb4d140d4a370ef (diff)
downloadopenbmc-6d022e1901e704dbb5bbdf9fd84ca26c86955a68.tar.xz
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
-rw-r--r--meta-inspur/meta-fp5280g2/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json254
1 files changed, 77 insertions, 177 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 1ff7009ab1..32546d8d97 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,310 +20,210 @@
]
},
{
- "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",
+ "group": "power_on",
"members": [
{
- "Name": "front_memory",
+ "Name": "power",
"Action": "On",
"DutyOn": 50,
"Period": 0,
- "Priority": "Blink"
+ "Priority": "On"
}
]
},
{
- "group": "dimm6_fault",
+ "group": "enclosure_identify",
"members": [
{
- "Name": "front_memory",
+ "Name": "identify",
"Action": "On",
"DutyOn": 50,
"Period": 0,
- "Priority": "Blink"
+ "Priority": "On"
}
]
},
{
- "group": "dimm7_fault",
+ "group": "enclosure_identify_blink",
"members": [
{
- "Name": "front_memory",
- "Action": "On",
+ "Name": "identify",
+ "Action": "Blink",
"DutyOn": 50,
- "Period": 0,
- "Priority": "Blink"
+ "Period": 1000,
+ "Priority": "On"
}
]
},
{
- "group": "dimm8_fault",
+ "group": "system_fault_warning",
"members": [
{
- "Name": "front_memory",
- "Action": "On",
+ "Name": "front_syshealth",
+ "Action": "Blink",
"DutyOn": 50,
- "Period": 0,
- "Priority": "Blink"
+ "Period": 1000,
+ "Priority": "On"
}
]
},
{
- "group": "dimm9_fault",
+ "group": "system_fault_critical",
"members": [
{
- "Name": "front_memory",
+ "Name": "front_syshealth",
"Action": "On",
"DutyOn": 50,
"Period": 0,
- "Priority": "Blink"
+ "Priority": "On"
}
]
},
{
- "group": "dimm10_fault",
+ "group": "dimm_fault_warning",
"members": [
{
- "Name": "front_memory",
- "Action": "On",
+ "Name": "front_syshealth",
+ "Action": "Blink",
"DutyOn": 50,
- "Period": 0,
- "Priority": "Blink"
- }
- ]
- },
- {
- "group": "dimm11_fault",
- "members": [
+ "Period": 1000,
+ "Priority": "On"
+ },
{
"Name": "front_memory",
- "Action": "On",
+ "Action": "Blink",
"DutyOn": 50,
- "Period": 0,
- "Priority": "Blink"
+ "Period": 1000,
+ "Priority": "On"
}
]
},
{
- "group": "dimm12_fault",
+ "group": "dimm_fault_critical",
"members": [
{
- "Name": "front_memory",
+ "Name": "front_syshealth",
"Action": "On",
"DutyOn": 50,
"Period": 0,
- "Priority": "Blink"
- }
- ]
- },
- {
- "group": "dimm13_fault",
- "members": [
+ "Priority": "On"
+ },
{
"Name": "front_memory",
"Action": "On",
"DutyOn": 50,
"Period": 0,
- "Priority": "Blink"
+ "Priority": "On"
}
]
},
{
- "group": "dimm14_fault",
+ "group": "system_hot_fault_warning",
"members": [
{
- "Name": "front_memory",
- "Action": "On",
+ "Name": "front_syshealth",
+ "Action": "Blink",
"DutyOn": 50,
- "Period": 0,
- "Priority": "Blink"
- }
- ]
- },
- {
- "group": "dimm15_fault",
- "members": [
+ "Period": 1000,
+ "Priority": "On"
+ },
{
- "Name": "front_memory",
- "Action": "On",
+ "Name": "front_syshot",
+ "Action": "Blink",
"DutyOn": 50,
- "Period": 0,
- "Priority": "Blink"
+ "Period": 1000,
+ "Priority": "On"
}
]
},
{
- "group": "cpu0_fault",
+ "group": "system_hot_fault_critical",
"members": [
{
- "Name": "front_syshot",
+ "Name": "front_syshealth",
"Action": "On",
"DutyOn": 50,
"Period": 0,
- "Priority": "Blink"
- }
- ]
- },
- {
- "group": "cpu1_fault",
- "members": [
+ "Priority": "On"
+ },
{
"Name": "front_syshot",
"Action": "On",
"DutyOn": 50,
"Period": 0,
- "Priority": "Blink"
+ "Priority": "On"
}
]
},
{
- "group": "fan0_fault",
+ "group": "fan_fault_warning",
"members": [
{
- "Name": "front_fan",
+ "Name": "front_syshealth",
"Action": "Blink",
"DutyOn": 50,
"Period": 1000,
- "Priority": "Blink"
- }
- ]
- },
- {
- "group": "fan1_fault",
- "members": [
+ "Priority": "On"
+ },
{
"Name": "front_fan",
"Action": "Blink",
"DutyOn": 50,
"Period": 1000,
- "Priority": "Blink"
+ "Priority": "On"
}
]
},
{
- "group": "fan2_fault",
+ "group": "fan_fault_critical",
"members": [
{
- "Name": "front_fan",
- "Action": "Blink",
+ "Name": "front_syshealth",
+ "Action": "On",
"DutyOn": 50,
- "Period": 1000,
- "Priority": "Blink"
- }
- ]
- },
- {
- "group": "fan3_fault",
- "members": [
+ "Period": 0,
+ "Priority": "On"
+ },
{
"Name": "front_fan",
- "Action": "Blink",
+ "Action": "On",
"DutyOn": 50,
- "Period": 1000,
- "Priority": "Blink"
+ "Period": 0,
+ "Priority": "On"
}
]
},
{
- "group": "powersupply0_fault",
+ "group": "powersupply_fault_warning",
"members": [
{
- "Name": "front_psu",
+ "Name": "front_syshealth",
"Action": "Blink",
"DutyOn": 50,
"Period": 1000,
- "Priority": "Blink"
- }
- ]
- },
- {
- "group": "powersupply1_fault",
- "members": [
+ "Priority": "On"
+ },
{
"Name": "front_psu",
"Action": "Blink",
"DutyOn": 50,
"Period": 1000,
- "Priority": "Blink"
+ "Priority": "On"
}
]
},
{
- "group": "power_on",
+ "group": "powersupply_fault_critical",
"members": [
{
- "Name": "power",
+ "Name": "front_syshealth",
+ "Action": "On",
+ "DutyOn": 50,
+ "Period": 0,
+ "Priority": "On"
+ },
+ {
+ "Name": "front_psu",
"Action": "On",
"DutyOn": 50,
"Period": 0,
@@ -332,4 +232,4 @@
]
}
]
-}
+} \ No newline at end of file