control: Add cache maps to fan control dump

Add the _objects, _parameters, and _servTree maps to the fan control
JSON dump file.

A condensed example is:
{
    "flight_recorder": [
        "Oct 06 05:59:01.183998: main: Startup"
    ],
    "parameters": null,
    "objects": {
        "/xyz/openbmc_project/sensors/temperature/vpcie_dcm1_rail_temperature": {
            "org.freedesktop.DBus.Introspectable": null,
            "org.freedesktop.DBus.Peer": null,
            "org.freedesktop.DBus.Properties": null,
            "xyz.openbmc_project.Association.Definitions": {
                "Associations": false
            },
            "xyz.openbmc_project.Sensor.Value": {
                "MaxValue": 250.0,
                "MinValue": -50.0,
                "Unit": "xyz.openbmc_project.Sensor.Value.Unit.DegreesC",
                "Value": 60.0
            },
            "xyz.openbmc_project.State.Decorator.Availability": {
                "Available": true
            },
            "xyz.openbmc_project.State.Decorator.OperationalStatus": {
                "Functional": true
            }
        },
    },
    "services": {
        "/xyz/openbmc_project/sensors/temperature/vpcie_dcm1_rail_temperature": {
            "xyz.openbmc_project.Power.Regulators": [
                true,
                [
                    "xyz.openbmc_project.Sensor.Value"
                ]
            ]
        },
    }
}

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Id3351127e07bcf1094d1e0a7891625632afa8d5b
3 files changed