Add FFDC support for IPMI LAN out of band commands
Changes:
- Added IPMI command execution.
- Added IPMI commands list in YAML file.
- Fix FFDC script env pretty print.
Change-Id: Ifc7d5726c1f50ae2f52bf5b7d3491dfb1b95d202
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/ffdc/ffdc_config.yaml b/ffdc/ffdc_config.yaml
index 68bf0d9..ee4ae43 100644
--- a/ffdc/ffdc_config.yaml
+++ b/ffdc/ffdc_config.yaml
@@ -117,6 +117,19 @@
PROTOCOL:
- 'REDFISH'
+# Commands and Files to collect for via out of band IPMI.
+OPENBMC_IPMI:
+ COMMANDS:
+ - 'lan print'
+ - 'fru list'
+ - 'user list'
+ FILES:
+ - 'IPMI_LAN_print.txt'
+ - 'IPMI_FRU_list.txt'
+ - 'IPMI_USER_list.txt'
+ PROTOCOL:
+ - 'IPMI'
+
# Commands and Files to collect for all Linux distributions
LINUX:
COMMANDS: