Skip to content

Commit 3c7b858

Browse files
lobovijaywilliamspatrick
authored andcommitted
Convert ServiceProviderNotify to enum
Converted ServiceProviderNotify to an enum. Supported options are - "NotSupported", "Notify" and "Inhibit". Changes in phosphor-logging are at the link below https://gerrit.openbmc.org/c/openbmc/phosphor-logging/+/58815 For more details on the discussion look at the link below. https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/46886/7/redfish-core/lib/log_services.hpp#1411 Signed-off-by: Vijay F Lobo <[email protected]> Change-Id: Iefe95a5531792bc79e363923deb7fc894774ee67 Signed-off-by: Lakshmi Yadlapati <[email protected]>
1 parent 380bb02 commit 3c7b858

File tree

1 file changed

+21
-6
lines changed

1 file changed

+21
-6
lines changed

yaml/xyz/openbmc_project/Logging/Entry.interface.yaml

+21-6
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,14 @@ properties:
4646
default. Setting this to 'true' will NOT result in the error log being
4747
deleted.
4848
- name: ServiceProviderNotify
49-
type: boolean
50-
default: false
49+
type: enum[self.Notify]
50+
default: NotSupported
5151
description: >
52-
This property when set to 'true' indicates that this event log should
53-
be notified to the service provider, if that is implemented on the
54-
system. An event of this type requires a service action to replace the
55-
hardware part or update code to correct the error.
52+
If this property value is set to 'Notify', the service provider must
53+
be notified about the Entry. If the value is set to 'Inhibit' then
54+
notification is not sent to the service provider. An event of this
55+
type requires a service action to correct the event, such as replacing
56+
the hardware part or updating code.
5657
- name: UpdateTimestamp
5758
type: uint64
5859
description: >
@@ -92,6 +93,20 @@ enumerations:
9293
description: >
9394
Information useful to developers for debugging the application.
9495
96+
- name: Notify
97+
description: >
98+
Possible ServiceProviderNotify values for an error log entry.
99+
values:
100+
- name: NotSupported
101+
description: >
102+
ServiceProviderNotify property is not supported.
103+
- name: Notify
104+
description: >
105+
The service provider should be notified about the event log.
106+
- name: Inhibit
107+
description: >
108+
The service provider should not be notified about the event log.
109+
95110
methods:
96111
- name: GetEntry
97112
description: >

0 commit comments

Comments
 (0)