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
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 0000000..922d993
--- /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'
+