Logging: add event for clearingThe phosphor-logging had an internal event reported for when the eventlog is cleared. Create an equivalent event here for betterdocumentation (and using the new ev
Logging: add event for clearingThe phosphor-logging had an internal event reported for when the eventlog is cleared. Create an equivalent event here for betterdocumentation (and using the new event format).Signed-off-by: Patrick Williams <patrick@stwcx.xyz>Change-Id: Ia8e0e329c5a2818376f0fb313531a1040af23dd6
show more ...
regenerate-meson: re-run with latest from sdbusplusThe sdbus++-gen-meson has a new version, which requires regeneratingall the meson in this repository. Re-run the `regenerate-meson`script.Sig
regenerate-meson: re-run with latest from sdbusplusThe sdbus++-gen-meson has a new version, which requires regeneratingall the meson in this repository. Re-run the `regenerate-meson`script.Signed-off-by: Patrick Williams <patrick@stwcx.xyz>Change-Id: Ib3fe091253297e6cf82ddf2be8175bf3f4a495f4
regenerate-meson: re-run with latest from sdbusplusThe sdbus++-gen-meson has a new version, which requires regeneratingall the meson in this repository. Re-run the `regenerate-meson`script.Cha
regenerate-meson: re-run with latest from sdbusplusThe sdbus++-gen-meson has a new version, which requires regeneratingall the meson in this repository. Re-run the `regenerate-meson`script.Change-Id: Ic72fe80376052d5749ba007bb87be25c83a46279Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
gen: update due to sdbusplus-gen-meson changeSigned-off-by: Patrick Williams <patrick@stwcx.xyz>Change-Id: I9491eb608d9c6849b3e39fe212054a3651bfb824
Syslog: introduce interfaces for e-mail sendingInterfaces to configure multiple e-mail destinations, each with anindividual threshold for the priority level of the syslog messages.The idea is to
Syslog: introduce interfaces for e-mail sendingInterfaces to configure multiple e-mail destinations, each with anindividual threshold for the priority level of the syslog messages.The idea is to provide facilities to implement a minimally useful subsetof Redfish Event Destinations for e-mail with ability to add additionalproperties if the need arises.D-Bus object path for each destination contains 8 digits of a mailtohash, so Level can be changed later but for another URI a new objectneeds to be created.Current set of properties is made on assumption that organisation has anSMTP smarthost (that BMC is allowed to use without authentication) whichtakes care of dispatching messages; rsyslog's ommail module isconsidered for the initial implementation.Example session:root@qemuarm:~# busctl tree xyz.openbmc_project.Syslog.Config└─/xyz └─/xyz/openbmc_project └─/xyz/openbmc_project/logging └─/xyz/openbmc_project/logging/config ├─/xyz/openbmc_project/logging/config/mail │ ├─/xyz/openbmc_project/logging/config/mail/2dc1e699 │ ├─/xyz/openbmc_project/logging/config/mail/5d43d672 │ ├─/xyz/openbmc_project/logging/config/mail/b4dc9055 │ ├─/xyz/openbmc_project/logging/config/mail/d5d4db03 │ └─/xyz/openbmc_project/logging/config/mail/e0974603 └─/xyz/openbmc_project/logging/config/remoteroot@qemuarm:~# busctl introspect xyz.openbmc_project.Syslog.Config /xyz/openbmc_project/logging/config/mailNAME TYPE SIGNATURE RESULT/VALUE FLAGSorg.freedesktop.DBus.Introspectable interface - - -.Introspect method - s -org.freedesktop.DBus.Peer interface - - -.GetMachineId method - s -.Ping method - - -org.freedesktop.DBus.Properties interface - - -.Get method ss v -.GetAll method s a{sv} -.Set method ssv - -.PropertiesChanged signal sa{sv}as - -xyz.openbmc_project.Collection.DeleteAll interface - - -.DeleteAll method - - -xyz.openbmc_project.Logging.Syslog.Destination.Mail interface - - -.From property s "from@some.domain" emits-change writablexyz.openbmc_project.Logging.Syslog.Destination.Mail.Create interface - - -.Create method ss o -xyz.openbmc_project.Network.Client interface - - -.Address property s "smarthost.lan" emits-change writable.Port property q 25 emits-change writablexyz.openbmc_project.Object.Enable interface - - -.Enabled property b true emits-change writableroot@qemuarm:~# busctl introspect xyz.openbmc_project.Syslog.Config /xyz/openbmc_project/logging/config/mail/d5d4db03NAME TYPE SIGNATURE RESULT/VALUE FLAGSorg.freedesktop.DBus.Introspectable interface - - -.Introspect method - s -org.freedesktop.DBus.Peer interface - - -.GetMachineId method - s -.Ping method - - -org.freedesktop.DBus.Properties interface - - -.Get method ss v -.GetAll method s a{sv} -.Set method ssv - -.PropertiesChanged signal sa{sv}as - -xyz.openbmc_project.Logging.Syslog.Destination.Mail.Entry interface - - -.Level property s "xyz.openbmc_project.Logging.Entry.Leve… emits-change writable.Mailto property s "mailto://someone2@otherdomain.test" emits-changexyz.openbmc_project.Object.Delete interface - - -.Delete method - - -Signed-off-by: Paul Fertser <fercerpav@gmail.com>Change-Id: Ic78fc2bf3608c1dd7ec0c962412e69062dde48d4
treewide: Create yaml directoryThis allows the propagated yamldir paramter to work correctly insubproject style builds. We don't want other files in the projectconflicting with tools that scan th
treewide: Create yaml directoryThis allows the propagated yamldir paramter to work correctly insubproject style builds. We don't want other files in the projectconflicting with tools that scan the yamldir.Change-Id: Ie2759c7f3baf399392cdda0e507055ceb262d2e1Signed-off-by: William A. Kennington III <wak@google.com>
build: Regenerate meson for sdbus++ updateChange-Id: I6c7b9fc22d7acf593c268713b2ef837ab983b956Signed-off-by: William A. Kennington III <wak@google.com>
build: regenerate meson with latest sdbusplus versionSigned-off-by: Patrick Williams <patrick@stwcx.xyz>Change-Id: Idb01b777bb90b165c906aacad24b0d3c9b0e93d2
Add SEL error yamlThe SEL error yaml is intented to be used to create logging entries withspecific metadata that will be consumed to present the IPMI SEL entries.Tested: Verify the error could b
Add SEL error yamlThe SEL error yaml is intented to be used to create logging entries withspecific metadata that will be consumed to present the IPMI SEL entries.Tested: Verify the error could be created as entry with expected metadata in logging.Signed-off-by: Lei YU <yulei.sh@bytedance.com>Change-Id: Ia78b621e1b56563dd41114a779d531f5867076f8
build: add sdbus++-gen-meson generated filesUse the tool to generate the meson.build files for the currenttree of interfaces, but do not utilize them yet. Add asmall helper tool to regenerate as
build: add sdbus++-gen-meson generated filesUse the tool to generate the meson.build files for the currenttree of interfaces, but do not utilize them yet. Add asmall helper tool to regenerate as needed.Signed-off-by: Patrick Williams <patrick@stwcx.xyz>Change-Id: Ie1f68984e5b01dcab661863d2ac719d0e3cd45c1