chassis

Description

A chassis within the system.

Chassis are typically a physical enclosure that contains system components such as CPUs, fans, power supplies, and PCIe cards. A chassis can be stand-alone, such as a tower or desktop. A chassis can also be designed to be mounted in an equipment rack.

A chassis only needs to be defined in the config file if it contains a power sequencer device.

Chassis Templates

In a multiple chassis system, two or more of the chassis may have the same hardware design.

A chassis template can be used to avoid duplicate data.

Specify the "template_id" and "template_variable_values" properties to use a chassis template.

Properties

NameRequiredTypeDescription
commentsnoarray of stringsOne or more comment lines describing this chassis.
numbersee notesnumberChassis number within the system. Chassis numbers start at 1 because chassis 0 represents the entire system.
inventory_pathsee notesstringD-Bus inventory path of the chassis, such as "/xyz/openbmc_project/inventory/system/chassis".
power_sequencerssee notesarray of power_sequencersOne or more power sequencer devices within the chassis.
template_idsee notesstringUnique ID of the chassis template to use for the contents of this chassis.
template_variable_valuessee notestemplate_variable_valuesChassis-specific values for chassis template variables.

Notes

  • You must specify exactly one of the following two groups of properties:
    • "number", "inventory_path", and "power_sequencers"
    • "template_id" and "template_variable_values"

Examples

{
  "number": 1,
  "inventory_path": "/xyz/openbmc_project/inventory/system/chassis",
  "power_sequencers": [
    {
      "type": "UCD90320",
      "i2c_interface": { "bus": 3, "address": "0x11" },
      "power_control_gpio_name": "power-chassis-control",
      "power_good_gpio_name": "power-chassis-good",
      "rails": [
        {
          "name": "VDD_CPU0",
          "page": 11,
          "check_status_vout": true
        },
        {
          "name": "VCS_CPU1",
          "presence": "/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1",
          "gpio": { "line": 60 }
        }
      ]
    }
  ]
}
{
  "comments": ["Chassis 2: Standard hardware layout"],
  "template_id": "standard_chassis_template",
  "template_variable_values": {
    "chassis_number": "2",
    "sequencer_bus_number": "13"
  }
}