commit | 5167e22a72ec4633dbaf2a9450a337dd8a5ac680 | [log] [tgz] |
---|---|---|
author | Sharad Yadav <sharady@nvidia.com> | Sat May 15 22:20:30 2021 +0530 |
committer | Patrick Williams <patrick@stwcx.xyz> | Tue Jul 06 19:06:31 2021 +0000 |
tree | 608f6c16ff3c913692f3325fff872f751b6755ff | |
parent | 846182e0017cd90d15cf586ed8398e345b20373b [diff] |
Inventory: Add Decorator.Dimension interface Inventory items can report their dimensions (if applicable and if specified by the manufacturer) via management APIs like Redfish. For this purpose, this commit introduces a Decorator.Dimension interface containing the following properties: 1. Height - The height of the item in meters. 2. Width - The width of the item in meters. 3. Depth - The depth of the item in meters. Signed-off-by: Sharad Yadav <sharady@nvidia.com> Change-Id: I2ac2dcd9743e8991c05eaf68acf856553ceecc55
YAML descriptors of standard D-Bus interfaces. The format is described by the sdbusplus binding generation tool sdbus++.
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 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