1*c27f31feSAndrei Kartashevbmc_booted:
2*c27f31feSAndrei Kartashev    # No LED required.
3*c27f31feSAndrei Kartashev
4*c27f31feSAndrei Kartashev# Status LED indication
5*c27f31feSAndrei Kartashev# Managed by callback-manager
6*c27f31feSAndrei Kartashev# NOTE: The green LED actually has different colors on the front and rear
7*c27f31feSAndrei Kartashev#       panels. So, we decided not to use it.
8*c27f31feSAndrei Kartashev#       See https://j.yadro.com/browse/BBMC-221 for details.
9*c27f31feSAndrei Kartashevstatus_ok:
10*c27f31feSAndrei Kartashev    platform_status_green:
11*c27f31feSAndrei Kartashev        Action: 'Off'
12*c27f31feSAndrei Kartashev    platform_status_red:
13*c27f31feSAndrei Kartashev        Action: 'Off'
14*c27f31feSAndrei Kartashev
15*c27f31feSAndrei Kartashevstatus_degraded:
16*c27f31feSAndrei Kartashev    platform_status_green:
17*c27f31feSAndrei Kartashev        Action: 'Off'
18*c27f31feSAndrei Kartashev    platform_status_red:
19*c27f31feSAndrei Kartashev        Action: 'Blink'
20*c27f31feSAndrei Kartashev        DutyOn: 25
21*c27f31feSAndrei Kartashev        Period: 2000
22*c27f31feSAndrei Kartashev
23*c27f31feSAndrei Kartashevstatus_non_critical:
24*c27f31feSAndrei Kartashev    platform_status_green:
25*c27f31feSAndrei Kartashev        Action: 'Off'
26*c27f31feSAndrei Kartashev    platform_status_red:
27*c27f31feSAndrei Kartashev        Action: 'Blink'
28*c27f31feSAndrei Kartashev        DutyOn: 50
29*c27f31feSAndrei Kartashev        Period: 1000
30*c27f31feSAndrei Kartashev
31*c27f31feSAndrei Kartashevstatus_critical:
32*c27f31feSAndrei Kartashev    platform_status_green:
33*c27f31feSAndrei Kartashev        Action: 'Off'
34*c27f31feSAndrei Kartashev    platform_status_red:
35*c27f31feSAndrei Kartashev        Action: 'On'
36*c27f31feSAndrei Kartashev
37*c27f31feSAndrei Kartashevenclosure_identify:
38*c27f31feSAndrei Kartashev    platform_indicator_blue:
39*c27f31feSAndrei Kartashev        Action: 'On'
40*c27f31feSAndrei Kartashev
41*c27f31feSAndrei Kartashev#
42*c27f31feSAndrei Kartashev# May be asserted through IPMI or RedFish.
43*c27f31feSAndrei Kartashev# We decided that it should be the same as enclosure_identify.
44*c27f31feSAndrei Kartashevenclosure_identify_blink:
45*c27f31feSAndrei Kartashev    platform_indicator_blue:
46*c27f31feSAndrei Kartashev        Action: 'On'
47*c27f31feSAndrei Kartashev
48*c27f31feSAndrei Kartashev#
49*c27f31feSAndrei Kartashev# Asserted while firmware is flashing
50*c27f31feSAndrei Kartashevfirmware_flashing:
51*c27f31feSAndrei Kartashev    platform_indicator_blue:
52*c27f31feSAndrei Kartashev        Action: 'Blink'
53*c27f31feSAndrei Kartashev
54*c27f31feSAndrei Kartashev#
55*c27f31feSAndrei Kartashev# Power button indication
56*c27f31feSAndrei Kartashev# Managed by phosphor-dbus-monitor
57*c27f31feSAndrei Kartashevpower_standby:
58*c27f31feSAndrei Kartashev    platform_power_green:
59*c27f31feSAndrei Kartashev        Action: 'On'
60*c27f31feSAndrei Kartashev    platform_power_red:
61*c27f31feSAndrei Kartashev        Action: 'On'
62*c27f31feSAndrei Kartashev
63*c27f31feSAndrei Kartashevpower_sequence:
64*c27f31feSAndrei Kartashev    platform_power_green:
65*c27f31feSAndrei Kartashev        Action: 'Blink'
66*c27f31feSAndrei Kartashev        DutyOn: 50
67*c27f31feSAndrei Kartashev        Period: 1000
68*c27f31feSAndrei Kartashev    platform_power_red:
69*c27f31feSAndrei Kartashev        Action: 'Off'
70*c27f31feSAndrei Kartashev
71*c27f31feSAndrei Kartashevpower_on:
72*c27f31feSAndrei Kartashev    platform_power_green:
73*c27f31feSAndrei Kartashev        Action: 'On'
74*c27f31feSAndrei Kartashev    platform_power_red:
75*c27f31feSAndrei Kartashev        Action: 'Off'
76*c27f31feSAndrei Kartashev
77*c27f31feSAndrei Kartashevpower_failure:
78*c27f31feSAndrei Kartashev    platform_power_green:
79*c27f31feSAndrei Kartashev        Action: 'Off'
80*c27f31feSAndrei Kartashev    platform_power_red:
81*c27f31feSAndrei Kartashev        Action: 'On'
82*c27f31feSAndrei Kartashev
83