commit | 7b1b723d397fa1bd8631d580a7aa624f67291253 | [log] [tgz] |
---|---|---|
author | Chau Ly <chaul@amperecomputing.com> | Mon Oct 24 15:17:14 2022 +0000 |
committer | Patrick Williams <patrick@stwcx.xyz> | Fri Feb 03 15:12:34 2023 +0000 |
tree | aa753fb031927cb941f963487d455ef58887e820 | |
parent | 67b0abdc5a50ec3b74222fc83ec9c8ace2c5078e [diff] |
Chassis.Intrusion: Add Rearm property This patch adds Rearm property under "xyz.openbmc_project.Chassis.Intrusion" interface, to specify the method for rearming the chassis cover and updating the "Status" property. As defined in Redfish schema specification, this property is optional and can take "Automatic" or "Manual". If not set, "Rearm" will default to "Automatic", which will directly update the raw chassis intrusion status to the "Status" property. If set to "Manual", after an intrusion event, the "Status" property will be kept to "HardwareIntrusion", no update accepted, until a reset event happends for it to be updated normally again. Signed-off-by: Chau Ly <chaul@amperecomputing.com> Change-Id: I73f6404a03184bea828727dcab4c38cbe2bdf35f
YAML descriptors of standard D-Bus interfaces. The format is described by the sdbusplus binding generation tool sdbus++.
Before defining a new D-Bus interface or modifying an existing one, please read through the documented set of the common requirements and expectations.
This project can be built with meson
. The typical meson
workflow is: meson builddir && ninja -C builddir
.
The meson files used to handle the YAML files are automatically generated and found under the gen
subdirectory. When adding or removing YAML files, this must be regenerated. This can be done with the helper script found in the gen
subdirectory: cd gen && ./regenerate-meson
.
Only the xyz/openbmc_project and org/freedesktop interfaces are built by default. Other interfaces can be enabled by meson options:
-Ddata_com_ibm=true
-Ddata_org_open_power=true
Example: meson builddir -Ddata_com_ibm=true && ninja -C builddir