openpower: Add CreatePELWithFFDCFiles method

This method will create a PEL and a corresponding OpenBMC event log.

It is similar to the CreateWithFFDCFiles method on the
xyz.openbmc_project.Logging.Create interface, except it returns the two
IDs that represent the created PEL and OpenBMC event log:

1. The OpenBMC event log ID
2. The PEL log ID

The event log creator may need one of these fields, for example to save
one of the IDs in a guard record related to the event log.

Change-Id: Iaab7042ebf8e922fae4aab46299b81f5e4f86caa
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
1 file changed
tree: 4130b88eb8946e975932dfc6badb2a835eb94da7
  1. com/
  2. gen/
  3. org/
  4. subprojects/
  5. xyz/
  6. .gitignore
  7. bootstrap.sh
  8. configure.ac
  9. generate_makefile.sh
  10. generate_yaml_makefile.sh
  11. LICENSE
  12. MAINTAINERS
  13. Makefile.am
  14. Makefile.interfaces.in
  15. Makefile.yaml.in
  16. meson.build
  17. meson_options.txt
  18. phosphor-dbus-interfaces.pc.in
  19. README.md
README.md

phosphor-dbus-interfaces

YAML descriptors of standard D-Bus interfaces. The format is described by the sdbusplus binding generation tool sdbus++.

Building

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.

Configuration

Only the xyz/openbmc_project interfaces are built by default. Other interfaces can be enabled by meson options:

  • com/ibm - -Ddata_com_ibm=true
  • org/open_power - -Ddata_org_open_power=true

References