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/section.hpp b/extensions/openpower-pels/section.hpp
index 4a11d77..15ddcff 100644
--- a/extensions/openpower-pels/section.hpp
+++ b/extensions/openpower-pels/section.hpp
@@ -62,11 +62,15 @@
     /**
      * @brief Get section in JSON. Derived classes to override when required to.
      * @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> - If a section comes with a JSON
      * representation, this would return the string for it.
      */
     virtual std::optional<std::string>
-        getJSON(message::Registry& registry) const
+        getJSON(message::Registry& registry,
+                const std::vector<std::string>& plugins,
+                uint8_t creatorID) const
     {
         return std::nullopt;
     }