summaryrefslogtreecommitdiff
path: root/meta-yadro/meta-vegman/recipes-phosphor/leds/vegman-led-manager-config/led.yaml
diff options
context:
space:
mode:
authorAndrei Kartashev <a.kartashev@yadro.com>2021-11-30 13:50:42 +0300
committerAlexander Filippov <a.filippov@yadro.com>2022-05-17 20:41:09 +0300
commitc27f31fefa4616bb9203a2140fdca6777d0cdc38 (patch)
tree081b9a7270b56721444378dd9435cd2a24abf170 /meta-yadro/meta-vegman/recipes-phosphor/leds/vegman-led-manager-config/led.yaml
parentc491ad4f86951b49a363aba246d88cddf21df9cf (diff)
downloadopenbmc-c27f31fefa4616bb9203a2140fdca6777d0cdc38.tar.xz
meta-yadro: vegman: led-manager configuration
This brings LEDs description for phosphor-led-manager. This configuration only describes LED groups. Real LED control will be introduced in later commits with phosphor-dbus-monitor configuration once we set other required components. Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com> Change-Id: I74b9f86b9d2c43d8b4f5728f330fe06b19b1e08a
Diffstat (limited to 'meta-yadro/meta-vegman/recipes-phosphor/leds/vegman-led-manager-config/led.yaml')
-rw-r--r--meta-yadro/meta-vegman/recipes-phosphor/leds/vegman-led-manager-config/led.yaml82
1 files changed, 82 insertions, 0 deletions
diff --git a/meta-yadro/meta-vegman/recipes-phosphor/leds/vegman-led-manager-config/led.yaml b/meta-yadro/meta-vegman/recipes-phosphor/leds/vegman-led-manager-config/led.yaml
new file mode 100644
index 0000000000..922d993a27
--- /dev/null
+++ b/meta-yadro/meta-vegman/recipes-phosphor/leds/vegman-led-manager-config/led.yaml
@@ -0,0 +1,82 @@
+bmc_booted:
+ # No LED required.
+
+# Status LED indication
+# Managed by callback-manager
+# NOTE: The green LED actually has different colors on the front and rear
+# panels. So, we decided not to use it.
+# See https://j.yadro.com/browse/BBMC-221 for details.
+status_ok:
+ platform_status_green:
+ Action: 'Off'
+ platform_status_red:
+ Action: 'Off'
+
+status_degraded:
+ platform_status_green:
+ Action: 'Off'
+ platform_status_red:
+ Action: 'Blink'
+ DutyOn: 25
+ Period: 2000
+
+status_non_critical:
+ platform_status_green:
+ Action: 'Off'
+ platform_status_red:
+ Action: 'Blink'
+ DutyOn: 50
+ Period: 1000
+
+status_critical:
+ platform_status_green:
+ Action: 'Off'
+ platform_status_red:
+ Action: 'On'
+
+enclosure_identify:
+ platform_indicator_blue:
+ Action: 'On'
+
+#
+# May be asserted through IPMI or RedFish.
+# We decided that it should be the same as enclosure_identify.
+enclosure_identify_blink:
+ platform_indicator_blue:
+ Action: 'On'
+
+#
+# Asserted while firmware is flashing
+firmware_flashing:
+ platform_indicator_blue:
+ Action: 'Blink'
+
+#
+# Power button indication
+# Managed by phosphor-dbus-monitor
+power_standby:
+ platform_power_green:
+ Action: 'On'
+ platform_power_red:
+ Action: 'On'
+
+power_sequence:
+ platform_power_green:
+ Action: 'Blink'
+ DutyOn: 50
+ Period: 1000
+ platform_power_red:
+ Action: 'Off'
+
+power_on:
+ platform_power_green:
+ Action: 'On'
+ platform_power_red:
+ Action: 'Off'
+
+power_failure:
+ platform_power_green:
+ Action: 'Off'
+ platform_power_red:
+ Action: 'On'
+