diff options
Diffstat (limited to 'meta-ibm/meta-palmetto/recipes-phosphor/leds')
-rw-r--r-- | meta-ibm/meta-palmetto/recipes-phosphor/leds/palmetto-led-manager-config-native.bb | 17 | ||||
-rwxr-xr-x | meta-ibm/meta-palmetto/recipes-phosphor/leds/palmetto-led-manager-config/led.yaml | 33 |
2 files changed, 50 insertions, 0 deletions
diff --git a/meta-ibm/meta-palmetto/recipes-phosphor/leds/palmetto-led-manager-config-native.bb b/meta-ibm/meta-palmetto/recipes-phosphor/leds/palmetto-led-manager-config-native.bb new file mode 100644 index 000000000..d633fd980 --- /dev/null +++ b/meta-ibm/meta-palmetto/recipes-phosphor/leds/palmetto-led-manager-config-native.bb @@ -0,0 +1,17 @@ +SUMMARY = "Phosphor LED Group Management for Palmetto" +PR = "r1" + +inherit native +inherit obmc-phosphor-license + +PROVIDES += "virtual/phosphor-led-manager-config-native" + +SRC_URI += "file://led.yaml" +S = "${WORKDIR}" + +# Copies example led layout yaml file +do_install() { + SRC=${S} + DEST=${D}${datadir}/phosphor-led-manager + install -D ${SRC}/led.yaml ${DEST}/led.yaml +} diff --git a/meta-ibm/meta-palmetto/recipes-phosphor/leds/palmetto-led-manager-config/led.yaml b/meta-ibm/meta-palmetto/recipes-phosphor/leds/palmetto-led-manager-config/led.yaml new file mode 100755 index 000000000..3b7d40456 --- /dev/null +++ b/meta-ibm/meta-palmetto/recipes-phosphor/leds/palmetto-led-manager-config/led.yaml @@ -0,0 +1,33 @@ +BmcBooted: + heartbeat: + Action: 'Blink' + DutyOn: 50 + Period: 0 +PowerOn: + power: + Action: 'On' + DutyOn: 50 + Period: 0 +EnclosureFault: + identify: + Action: 'On' + DutyOn: 50 + Period: 0 +EnclosureIdentify: + identify: + Action: 'Blink' + DutyOn: 50 + Period: 1000 +LampTest: + heartbeat: + Action: 'Blink' + DutyOn: 50 + Period: 1000 + identify: + Action: 'Blink' + DutyOn: 50 + Period: 1000 + power: + Action: 'Blink' + DutyOn: 50 + Period: 1000 |