#
d5b6fd18 |
| 15-Apr-2022 |
Patrick Williams <patrick@stwcx.xyz> |
build: enable C++20
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I6d994b7113fc06c6fd8a77faee239d8614219855
|
#
aeaa374a |
| 15-Jun-2020 |
Matt Spinler <spinler@us.ibm.com> |
Remove ibm-dbus-ifaces dependency The IBM D-Bus interface used here moved into phosphor-dbus-interfaces. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I19a155afbfc
Remove ibm-dbus-ifaces dependency The IBM D-Bus interface used here moved into phosphor-dbus-interfaces. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I19a155afbfc9bf85c1924b0b3e53c5f54b7412c2
show more ...
|
#
4c0e8945 |
| 06-Nov-2019 |
Matt Spinler <spinler@us.ibm.com> |
Updates for new association interface The association interface name changed to xyz.openbmc_project.Association.Definitions and its property changed to Associations. Update the code
Updates for new association interface The association interface name changed to xyz.openbmc_project.Association.Definitions and its property changed to Associations. Update the code accordingly. Tested: Created an event log with a callout association, and verified that the correct callout object was created. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Id48b6f2093410757ca6119cda09544d81f708ba5
show more ...
|
#
18825049 |
| 13-Feb-2019 |
Patrick Venture <venture@google.com> |
build: pkg anti-pattern: use defaults Use the defaults in the pkg check where the default error message is sufficient to identify which package is missing. Change-Id: If77285d0c
build: pkg anti-pattern: use defaults Use the defaults in the pkg check where the default error message is sufficient to identify which package is missing. Change-Id: If77285d0c80b3c5d0793d1ababd71ec385cb1336 Signed-off-by: Patrick Venture <venture@google.com>
show more ...
|
#
5b6d0f63 |
| 04-Oct-2018 |
Vernon Mauery <vernon.mauery@linux.intel.com> |
ibm-logging: use c++17 Update configure.ac to choose the c++17 standard Change-Id: I39428a3985249897b331e9b4720dc3420f1afd99 Signed-off-by: Vernon Mauery <vernon.mauery@linux.in
ibm-logging: use c++17 Update configure.ac to choose the c++17 standard Change-Id: I39428a3985249897b331e9b4720dc3420f1afd99 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
show more ...
|
#
3e71c977 |
| 04-Jun-2018 |
Matt Spinler <spinler@us.ibm.com> |
Merge "Use s.c_str() in log messages"
|
#
52ee71bd |
| 23-May-2018 |
Matt Spinler <spinler@us.ibm.com> |
Create the Callout objects If a new error log has the association interface, and the inventory item it points to implements the Asset interface, create a Callout object for it and pe
Create the Callout objects If a new error log has the association interface, and the inventory item it points to implements the Asset interface, create a Callout object for it and persist it. It will be persisted to a file like: /var/lib/ibm-logging/errors/N/callouts/M where N is an error log entry ID and M is the callout instance number. Tested: Verify new D-Bus objects for callouts. Change-Id: I90e9cf76edd7c2517de22cee64c3b979c482efa8 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
#
ef3b86f2 |
| 23-May-2018 |
Matt Spinler <spinler@us.ibm.com> |
Add serialization to the Callout class Adding serialize() and deserialize() APIs to the callout class to save and restore the class data persistently. The APIs take the director
Add serialization to the Callout class Adding serialize() and deserialize() APIs to the callout class to save and restore the class data persistently. The APIs take the directory to store the files in, and the filename itself will be the ID, which is the callout number. For example, a path could be: /var/lib/ibm-logging/errors/5/callouts/0. Tested: Passes the testcases in future commit. Change-Id: I526f6483df71dbceac3a33f7ce8872f6914bcd9d 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.
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 ...
|
#
7ce3eef9 |
| 27-Mar-2018 |
Matt Spinler <spinler@us.ibm.com> |
Add default event ID and error description Add the ID and description to use when an entry isn't found in the policy table. The final values for these are still being considered
Add default event ID and error description Add the ID and description to use when an entry isn't found in the policy table. The final values for these are still being considered by the IBM service team. Change-Id: I2ce3f16ed168994599fb48aaba999a1d92856193 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
#
743e5822 |
| 27-Mar-2018 |
Matt Spinler <spinler@us.ibm.com> |
Add policy::Table class to Manager As the data the class uses is system specific and has to be defined by an external team, have the code default to not using this class and allow it
Add policy::Table class to Manager As the data the class uses is system specific and has to be defined by an external team, have the code default to not using this class and allow it to be enabled with a configure flag. Change-Id: I28482981f3b23af1cf0545565bfb93d63ad47730 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
#
b96fa321 |
| 27-Mar-2018 |
Matt Spinler <spinler@us.ibm.com> |
Add unit tests for the policy table Change-Id: I60ec83dfb3c4a65d20502d4680501a55ed6f0278 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
#
8c0a63f9 |
| 27-Mar-2018 |
Matt Spinler <spinler@us.ibm.com> |
Add policy::Table class This class holds the error log policy data defined by IBM's service people. The raw data is stored in a JSON file on the BMC, and loaded into the class on co
Add policy::Table class This class holds the error log policy data defined by IBM's service people. The raw data is stored in a JSON file on the BMC, and loaded into the class on construction. The policy data is a map of error messages (i.e. the xyz.openbmc_project.Foo.Error.Bar strings) to a list of policy details structures. Each details structure has: * a search modifier - used to find the specific details entry for a specific error log message. * a message - a customer facing description of the error * an event ID - an ID defined by IBM that can be used to locate information about the error online. An example of an entry of the JSON data it consumes is: { "dtls":[ { "CEID":"ID 1", "mod":"mod 1", "msg":"Error 1" }, { "CEID":"ID 2", "mod":"mod 2", "msg":"Error 2 " } ], "err":"xyz.openbmc_project.Error.Test1" } A future commit will add the ability to find an entry. Change-Id: I9869c15799914acf9cbc9d91ff714edb6e2512ef Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
#
57724a91 |
| 27-Mar-2018 |
Matt Spinler <spinler@us.ibm.com> |
Start the D-Bus loop in main() Instantiate the Manager class as well as a D-Bus object manager, and start the D-Bus processing loop. Change-Id: Ide5adf8774739a259ca68f3a1bdd76a1
Start the D-Bus loop in main() Instantiate the Manager class as well as a D-Bus object manager, and start the D-Bus processing loop. Change-Id: Ide5adf8774739a259ca68f3a1bdd76a1dde3c610 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
#
54bfa7e7 |
| 27-Mar-2018 |
Matt Spinler <spinler@us.ibm.com> |
Create objects for existing logs on startup Use getManagedObjects to find the existing error log entries, and grab their Logging.Entry property map to pass to the create function.
Create objects for existing logs on startup Use getManagedObjects to find the existing error log entries, and grab their Logging.Entry property map to pass to the create function. Change-Id: I798f13422483fdeea16a5acf54d31919f1c7c096 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
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 ...
|
#
c1d65776 |
| 27-Mar-2018 |
Matt Spinler <spinler@us.ibm.com> |
Add ibm-log-manager application Put in the infrastructure to build the ibm-log-manager application. This application will eventually host IBM specific D-Bus interfaces on th
Add ibm-log-manager application Put in the infrastructure to build the ibm-log-manager application. This application will eventually host IBM specific D-Bus interfaces on the error log objects in /xyz/openbmc_project/logging/entry/. Change-Id: I97bfef3d7d12565f8e4d3791e22a642a290b8b7c Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|