commit | f6db102edd88ef28c5d8ab40aed9f4ea6c31d934 | [log] [tgz] |
---|---|---|
author | Asmitha Karunanithi <asmitk01@in.ibm.com> | Tue Jun 28 04:47:59 2022 -0500 |
committer | Asmitha Karunanithi <asmitk01@in.ibm.com> | Mon Jul 11 10:47:10 2022 +0000 |
tree | 555501ac5795d0f20444168e0b21c3d6dd1140f5 | |
parent | a39c66ae86c5e5bdfdeb88da3f79e31407c45581 [diff] |
createDump: Add Originator info as additional parameter This commit adds "OriginatorId" & "OriginatorType" of the "xyz.openbmc_project.Common.OriginatedBy" interface as additional parameter in the createDump dbus call. The "AdditionalData" parameter in createDump call will be in a key-value format and the key in this case would be "xyz.openbmc_project.Common.OriginatorId"; the value would be any unique identifier of the user/component that initiated the dump. This is an optional parameter and will be implemented for user-triggered dumps. The createDump dbus call with OriginatorId will now look like: busctl call xyz.openbmc_project.Dump.Manager \ /xyz/openbmc_project/dump/bmc xyz.openbmc_project.Dump.Create \ CreateDump a{sv} 2 "xyz.openbmc_project.Dump.Create.CreateParameters.OriginatorId" \ s "<unique-id>" "xyz.openbmc_project.Dump.Create.CreateParameters.OriginatorType" \ s "<originatorType>" Signed-off-by: Asmitha Karunanithi <asmitk01@in.ibm.com> Change-Id: I220f20077fc069f798b40583b8918695e18152c2
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 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