Add support to walk through /redfish/v1 using plugin
Changes:
- Add check for plugin response if dictionary
- Add new redfish plugin module
- Add entry in the YAML
Tested:
- With plugin
- Generic existing testing
Change-Id: I71291e337d0a064bbe024fbef193380ec3cfb8ad
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/ffdc/ffdc_config.yaml b/ffdc/ffdc_config.yaml
index 71bf9c6..d297c07 100644
--- a/ffdc/ffdc_config.yaml
+++ b/ffdc/ffdc_config.yaml
@@ -111,6 +111,14 @@
- redfishtool -u ${username} -p ${password} -r ${hostname} -S Always raw GET /redfish/v1/Managers/bmc/LogServices/Dump/Entries
- redfishtool -u ${username} -p ${password} -r ${hostname} -S Always raw GET /redfish/v1/Systems/system/LogServices/Dump/Entries
- redfishtool -u ${username} -p ${password} -r ${hostname} -S Always raw GET /redfish/v1/Systems/system/LogServices/EventLog/Entries
+ - plugin:
+ - plugin_name: plugin.redfish.enumerate_request
+ - plugin_args:
+ - ${hostname}
+ - ${username}
+ - ${password}
+ - /redfish/v1/
+ - json
FILES:
- 'REDFISH_software.json'
- 'REDFISH_bmc_state.json'
@@ -119,6 +127,7 @@
- 'REDFISH_bmc_dump_entries.json'
- 'REDFISH_system_dumps_entries.json'
- 'REDFISH_event_log_entries.json'
+ - 'REDFISH_enumerate_v1.json'
PROTOCOL:
- 'REDFISH'