config_file

Description

The root (outer-most) object in a phosphor-regulators configuration file.

Properties

NameRequiredTypeDescription
commentsnoarray of stringsOne or more comment lines describing this file.
rulesnoarray of rulesOne or more rules shared by regulators in this file.
chassisyesarray of chassisOne or more chassis in the system.

Example

{
  "comments": [ "Config file for a FooBar one-chassis system" ],
  "rules": [
    {
      "id": "set_voltage_rule",
      ... details omitted ...
    },
    {
      "id": "read_sensors_rule",
      ... details omitted ...
    }
  ],
  "chassis": [
    {
      "number": 1,
      "inventory_path": "system/chassis",
      "devices": [
        ... details omitted ...
      ]
    }
  ]
}