sel: Support OEM record 0xCD~0xDF

The SEL OEM record is retrieved from logging/entry, and converted to SEL
format.

Tested: When the BMC has a logging entry like below:

    {
      "data": {
        "AdditionalData": [
          "EVENT_DIR=0",
          "GENERATOR_ID=0",
          "RECORD_TYPE=205",
          "SENSOR_DATA=1112141500DDB3BACD000000",
          "SENSOR_PATH=",
          "_PID=200"
        ],
        "Associations": [],
        "Id": 1,
        "Message": "xyz.openbmc_project.Logging.SEL.Error.Created",
        "Purpose": "xyz.openbmc_project.Software.Version.VersionPurpose.BMC",
        "Resolved": false,
        "Severity": "xyz.openbmc_project.Logging.Entry.Level.Informational",
        "Timestamp": 320246,
        "UpdateTimestamp": 320246,
        "Version": "2.9.0-dev-1308-g01b7feb91-dirty"
      },
      "message": "200 OK",
      "status": "ok"
    }

Verify the SEL entry is expected:

    SEL Record ID          : 0002
     Record Type           : cd  (OEM timestamped)
     Timestamp             : 01/01/1970 01:22:47
     Manufactacturer ID    : b3dd00
     OEM Defined           : bacd00010000 [......]

Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: Ia9ee86d8cb98ddd8d64f82170e1b57a45af7bed1
1 file changed