All of lore.kernel.org
 help / color / mirror / Atom feed
* Redfish EventService Implementation
@ 2020-01-31 20:53 RAJESWARAN THILLAIGOVINDAN
  2020-02-09 20:22 ` RAJESWARAN THILLAIGOVINDAN
  2020-06-08 21:08 ` Redfish EventService Implementation Brad Bishop
  0 siblings, 2 replies; 44+ messages in thread
From: RAJESWARAN THILLAIGOVINDAN @ 2020-01-31 20:53 UTC (permalink / raw)
  To: openbmc, apparao.puli

Hi,

I am going through the bmcweb code for implementing Redfish EventService 
based on the design document 
https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/24749. This design 
is hooked to the journal based Redfish Event Logging. For life cycle 
events(ResourceAdded, ResourceRemoved, ResourceUpdated),  using D-Bus 
match, bmcweb can create an event log. This requires a JSON dictionary, 
comprising an array of Redfish Resource Name and the D-Bus path. This 
approach works only in case of one to one mapping of Redfish Resource 
Name and the D-Bus path. For propertiesChanged events, if the Redfish 
Resource property is not on the same D-Bus path or the Redfish Resource 
property name is different from the D-Bus property name, then an 
additional JSON dictionary to maintain this information is required. 
With D-Bus match alone in the bmcweb, Redfish EventService can't be 
fully supported. For the Message Registers and the Resource Types that 
are supported, the relevant OpenBMC application must create an event log 
in the journal using either the phosphor::logging::entry or 
sd_journal_send() command.

After realizing that with D-Bus match in the bmcweb alone can't help to 
fully implement EventService, I prefer to avoid using D-Bus match in 
bmcweb. Instead, I prefer to modify the OpenBMC application that 
generated the event to create an event log in the journal. Do you see 
any advantage of using combination of D-Bus match in the bmcweb wherever 
it is possible and changes to OpenBMC application in other cases to 
create an event log ?

Your views are highly appreciated.

Thanks,
Rajes

^ permalink raw reply	[flat|nested] 44+ messages in thread

end of thread, other threads:[~2020-07-30  9:10 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-31 20:53 Redfish EventService Implementation RAJESWARAN THILLAIGOVINDAN
2020-02-09 20:22 ` RAJESWARAN THILLAIGOVINDAN
2020-02-17 20:11   ` RAJESWARAN THILLAIGOVINDAN
2020-02-19 19:19   ` Puli, Apparao
2020-02-24  6:37     ` Ratan Gupta
2020-02-25 14:06       ` Puli, Apparao
2020-05-05 11:43         ` RAJESWARAN THILLAIGOVINDAN
2020-05-26 12:20         ` RAJESWARAN THILLAIGOVINDAN
2020-05-27  3:48           ` Puli, Apparao
2020-05-27 11:50             ` RAJESWARAN THILLAIGOVINDAN
2020-05-27 18:58               ` Puli, Apparao
2020-05-28 13:26                 ` Ratan Gupta
2020-05-29 15:45                   ` Redfish event log for new local user addition Puli, Apparao
2020-06-02  6:30                     ` Ratan Gupta
2020-06-08 21:08 ` Redfish EventService Implementation Brad Bishop
2020-06-09  0:58   ` James Feist
2020-06-15 12:50     ` Ratan Gupta
2020-06-15 21:42       ` James Feist
2020-06-16 15:24         ` Patrick Williams
2020-06-16 16:11           ` James Feist
2020-06-17 12:08             ` Ratan Gupta
2020-06-17 17:16               ` James Feist
2020-06-17 17:19               ` Bills, Jason M
2020-06-17 18:30                 ` Andrew Geissler
2020-06-17 20:45               ` Patrick Williams
2020-06-19 13:26                 ` Ratan Gupta
2020-06-19 22:19                   ` Bills, Jason M
2020-06-23  7:27                   ` Ratan Gupta
2020-06-24 16:24                     ` James Feist
2020-06-24 20:39                       ` Patrick Williams
2020-06-25 13:45                       ` Brad Bishop
2020-06-25 16:42                         ` James Feist
2020-06-25 15:49                       ` Brad Bishop
2020-06-25 16:44                         ` James Feist
2020-06-25 17:26                     ` Brad Bishop
2020-06-25 18:55                       ` Bills, Jason M
2020-06-29  8:00                         ` Ratan Gupta
2020-06-29  8:07                         ` Ratan Gupta
2020-06-29 15:33                           ` Bills, Jason M
2020-07-03 10:15                             ` Ratan Gupta
2020-07-06 21:30                               ` Bills, Jason M
2020-07-13  6:32                                 ` Ratan Gupta
2020-07-14 21:08                                   ` James Feist
2020-07-30  9:10                                     ` Ratan Gupta

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.