PEL: SRC Details Python parser support

This change enables the calling of python3 parsers for SRC details.
Modules will be searched under the namespace "srcparsers" from python3
sys.path directories (including the current directory).

Example:

  /usr/lib/python3.8/site-packages/srcparsers/bsrc/bsrc.py

  or

  ./srcparsers/bsrc/bsrc.py

  where

  b = Creator Subsystem ID for Hostboot in ASCII lowercase

The parsers will need to provide a function called "parseSRCToJson" with
input parameters:

  1. (str) ASCII string (Hex Word 1)
  2. (str) Hex Word 2
  3. (str) Hex Word 3
  4. (str) Hex Word 4
  5. (str) Hex Word 5
  6. (str) Hex Word 6
  7. (str) Hex Word 7
  8. (str) Hex Word 8
  9. (str) Hex Word 9

The return value must be a valid JSON string.

Signed-off-by: Harisuddin Mohamed Isa <harisuddin@gmail.com>
Change-Id: I2cb0248e5ee2803869eab28d3232b414e2d743af
diff --git a/extensions/openpower-pels/src.hpp b/extensions/openpower-pels/src.hpp
index b9c8199..44540b0 100644
--- a/extensions/openpower-pels/src.hpp
+++ b/extensions/openpower-pels/src.hpp
@@ -226,10 +226,13 @@
     /**
      * @brief Get section in JSON.
      * @param[in] registry - Registry object reference
+     * @param[in] plugins - Vector of strings of plugins found in filesystem
+     * @param[in] creatorID - Creator Subsystem ID from Private Header
      * @return std::optional<std::string> - SRC section's JSON
      */
-    std::optional<std::string>
-        getJSON(message::Registry& registry) const override;
+    std::optional<std::string> getJSON(message::Registry& registry,
+                                       const std::vector<std::string>& plugins,
+                                       uint8_t creatorID) const override;
 
     /**
      * @brief Get error details based on refcode and hexwords