#
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 ...
|
#
3dd7c2e6 |
| 28-Mar-2019 |
Patrick Venture <venture@google.com> |
build: install into bin instead of sbin Installs into bin instead of sbin per guidelines. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I5d40374545a7e87428a4ab9
build: install into bin instead of sbin Installs into bin instead of sbin per guidelines. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I5d40374545a7e87428a4ab973c01b8e148d18731
show more ...
|
#
3e71c977 |
| 04-Jun-2018 |
Matt Spinler <spinler@us.ibm.com> |
Merge "Use s.c_str() in log messages"
|
#
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
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 ...
|
#
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 ...
|
#
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 ...
|
#
bc997490 |
| 27-Mar-2018 |
Matt Spinler <spinler@us.ibm.com> |
Add getManagedObjects helper function This will return all of the interfaces and properties on an object. It will be used on startup of the application to check for existing err
Add getManagedObjects helper function This will return all of the interfaces and properties on an object. It will be used on startup of the application to check for existing error logs. Change-Id: I29f25da0fe69a3200a1f690397af13f8513c8844 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 ...
|