commit | e2c9bc74f2b8c0e78c305894289f8938d75ee108 | [log] [tgz] |
---|---|---|
author | Chris Cain <cjcain@us.ibm.com> | Fri Jun 21 17:06:47 2024 -0500 |
committer | Chris Cain <cjcain@us.ibm.com> | Fri Jun 21 17:13:13 2024 -0500 |
tree | 7e4e54ae07bc79831edf52d6f16192fb9069a67b | |
parent | 668170f4032c3ee56956c4df8b67c42042d550da [diff] |
Control.Power.Mode: Add errors to properties Add two errors to the PowerMode property: NotAllowed - when the mode is not allowed to be set InvalidArgument - when the mode is not a valid value Errors will be generated by openpower-occ-control Tested on Rainier Change-Id: Ifa8d7536d410ae0c369d65eeb58c45d26c65c254 Signed-off-by: Chris Cain <cjcain@us.ibm.com>
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