presence: Create event logs for missing fans

After the fan missing timer expires, create an OpenBMC event log with
the name xyz.openbmc_project.Fan.Error.Missing.  It will call out the
fan using the CALLOUT_INVENTORY_PATH AdditionalData keyword.

It will also add the Logger output in JSON as FFDC by saving it in a
file and passing in that file's descriptor as the event log API
dictates.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Iab424e1b2ebe0573cd581724f2b820f4e277368f
1 file changed