History log of /openbmc/ibm-logging/interfaces.hpp (Results 1 – 10 of 10)
Revision Date Author Comments
# 8123a713 22-Jul-2022 Patrick Williams <patrick@stwcx.xyz>

sdbusplus: use shorter type aliases

The sdbusplus headers provide shortened aliases for many types.
Switch to using them to provide better code clarity and shorter
lines. Possible replacements are

sdbusplus: use shorter type aliases

The sdbusplus headers provide shortened aliases for many types.
Switch to using them to provide better code clarity and shorter
lines. Possible replacements are for:
* bus_t
* exception_t
* manager_t
* match_t
* message_t
* object_t
* slot_t

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I768b8efcac262ef07cf75f06486c6144c090e91a

show more ...


# 66e07073 12-Sep-2018 Matt Spinler <spinler@us.ibm.com>

clang-format updates

Run with clang-format-6.0 and update to latest .clang-format
as listed in the docs repository.

Change-Id: I40fb686cc66adf56b2c1b5277ac1c44b64b89349
Signed-off-by: Matt Spinler

clang-format updates

Run with clang-format-6.0 and update to latest .clang-format
as listed in the docs repository.

Change-Id: I40fb686cc66adf56b2c1b5277ac1c44b64b89349
Signed-off-by: Matt Spinler <spinler@us.ibm.com>

show more ...


# 23818bb0 23-May-2018 Matt Spinler <spinler@us.ibm.com>

Add Callout class

This class will be used to put a hardware callout object
on D-Bus that shows the serial number and part number information
for what is being called out in an error log.

It will re

Add Callout class

This class will be used to put a hardware callout object
on D-Bus that shows the serial number and part number information
for what is being called out in an error log.

It will remain even after that part is replaced with a new part with
a new SN, so the data needs to be persisted as opposed to being
looked up in the inventory on startup. The persisting will be
done in a future commit. Note it will also survive an error log
being resolved, which would delete the inventory assocation interface
on the error log.

The object path of the callout objects will look something like
/xyz/openbmc_project/logging/entry/5/callouts/0, where this would be
the first callout on error log 5.

Tested: N/A - not used yet

Change-Id: I7e2f0c61705880ad70d5f6a49209f73a499785b9
Signed-off-by: Matt Spinler <spinler@us.ibm.com>

show more ...


# 9bea4eaf 09-May-2018 Matt Spinler <spinler@us.ibm.com>

Revert "Implement the Delete interface"

This reverts commit 433beadcb8b0af4ebdc05e2b46be0be0ac3085e6.

As objects will be deleted on phosphor-logging interfaces removed
signals, the Delete interface

Revert "Implement the Delete interface"

This reverts commit 433beadcb8b0af4ebdc05e2b46be0be0ac3085e6.

As objects will be deleted on phosphor-logging interfaces removed
signals, the Delete interface is no longer required.

Tested: Ensure the REST Delete calls still work via the
InterfacesRemoved handler.

Change-Id: I08f0b8fddf85ed1122175b1a66b9e2decbbf6cdf
Signed-off-by: Matt Spinler <spinler@us.ibm.com>

show more ...


# 6fac45e3 09-May-2018 Matt Spinler <spinler@us.ibm.com>

Revert "Implement the DeleteAll interface"

This reverts commit 2cfceb4623c83c04ebe49c5dcae7da877c1c5c8b.

As objects will be deleted on phosphor-logging interfaces removed
signals, the DeleteAll int

Revert "Implement the DeleteAll interface"

This reverts commit 2cfceb4623c83c04ebe49c5dcae7da877c1c5c8b.

As objects will be deleted on phosphor-logging interfaces removed
signals, the DeleteAll interface is no longer required.

Tested: Ensure DeletaAll still works via InterfacesRemoved handling.

Change-Id: I842b0e839faa464c49b818f11bd8c555736acd6e
Signed-off-by: Matt Spinler <spinler@us.ibm.com>

show more ...


# 2cfceb46 23-Apr-2018 Matt Spinler <spinler@us.ibm.com>

Implement the DeleteAll interface

Implement the xyz.openbmc_project.Collection.DeleteAll
interface to delete all logging entries.

Change-Id: I007dd8408ebb4e30bf3d3a3c431d747248620aa4
Signed-off-by:

Implement the DeleteAll interface

Implement the xyz.openbmc_project.Collection.DeleteAll
interface to delete all logging entries.

Change-Id: I007dd8408ebb4e30bf3d3a3c431d747248620aa4
Signed-off-by: Matt Spinler <spinler@us.ibm.com>

show more ...


# 433beadc 23-Apr-2018 Matt Spinler <spinler@us.ibm.com>

Implement the Delete interface

Implement the xyz.openbmc_project.Object.Delete interface
to delete an IBM logging object.

This is required because if someone calls Delete on an entry
in /xyz/openbm

Implement the Delete interface

Implement the xyz.openbmc_project.Object.Delete interface
to delete an IBM logging object.

This is required because if someone calls Delete on an entry
in /xyz/openbmc_project/logging/, the REST server will also
call Delete on the corresponding object here.

Change-Id: I742320e49bcf1b371840dda4c7f5b1d0f572ad6a
Signed-off-by: Matt Spinler <spinler@us.ibm.com>

show more ...


# 259e7277 29-Mar-2018 Matt Spinler <spinler@us.ibm.com>

Enable clang-format

Ideally would have done this from the beginning,
but better later than never.

Change-Id: Ib4c73085c4817496c9f2ee505c19149a67b394dc
Signed-off-by: Matt Spinler <spinler@us.ibm.co

Enable clang-format

Ideally would have done this from the beginning,
but better later than never.

Change-Id: Ib4c73085c4817496c9f2ee505c19149a67b394dc
Signed-off-by: Matt Spinler <spinler@us.ibm.com>

show more ...


# 4a6ea6af 27-Mar-2018 Matt Spinler <spinler@us.ibm.com>

Find a policy entry and create the Policy object

Find an entry in the policy table based on the error
log entry's properties, and create and save the
sdbusplus object for it.

Change-Id: Ifc09059169

Find a policy entry and create the Policy object

Find an entry in the policy table based on the error
log entry's properties, and create and save the
sdbusplus object for it.

Change-Id: Ifc09059169b5faedb4eae74a76d59847d7b2868b
Signed-off-by: Matt Spinler <spinler@us.ibm.com>

show more ...


# e0017ebb 27-Mar-2018 Matt Spinler <spinler@us.ibm.com>

Add Manager class

This class will hold the IBM interface objects.

It has callbacks on the interfaces added and removed
signals for the actual logging entries so it knows when
to add and remove the

Add Manager class

This class will hold the IBM interface objects.

It has callbacks on the interfaces added and removed
signals for the actual logging entries so it knows when
to add and remove the IBM interface objects.

It can hold multiple interface objects per logging entry
by using a map of std::experimental::any objects.

Future commits will add more functionality, such as doing
the actual creation of the interface objects and checking
for existing error logs entries on startup.

Change-Id: I1feef9e3416380a0bc9f94e470204eeac5464200
Signed-off-by: Matt Spinler <spinler@us.ibm.com>

show more ...