commit | 6c25fd029fcb359ec5f0ab1f039f4ec3aaca7f5c | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Jan 17 11:52:54 2024 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Jan 17 13:30:40 2024 -0600 |
tree | 8aada627f3b946d7b3dcf0aa09db78d7f60d940e | |
parent | 84591a23574b2810158694c6c1c92bd27328a0ac [diff] |
Logging: add default path and service names Add default paths and service names from the reference implementation in phosphor-logging. The service for logging is expected to be a singleton and the manager object resides at a fixed path. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ia8d4ec354dbbe234109562bd76f1f779922da4e0
diff --git a/yaml/xyz/openbmc_project/Logging/Create.interface.yaml b/yaml/xyz/openbmc_project/Logging/Create.interface.yaml index 0da55b5..2a1c15f 100644 --- a/yaml/xyz/openbmc_project/Logging/Create.interface.yaml +++ b/yaml/xyz/openbmc_project/Logging/Create.interface.yaml
@@ -93,3 +93,9 @@ - name: Custom description: > Something other than the above formats + +service_names: + - default: xyz.openbmc_project.Logging + +paths: + - instance: /xyz/openbmc_project/logging
diff --git a/yaml/xyz/openbmc_project/Logging/Entry.interface.yaml b/yaml/xyz/openbmc_project/Logging/Entry.interface.yaml index 468d3dd..9c1d694 100644 --- a/yaml/xyz/openbmc_project/Logging/Entry.interface.yaml +++ b/yaml/xyz/openbmc_project/Logging/Entry.interface.yaml
@@ -117,3 +117,12 @@ type: unixfd description: > The file descriptor to the Entry file. + +service_names: + - default: xyz.openbmc_project.Logging + +paths: + - namespace: /xyz/openbmc_project/logging + segments: + - name: Entry + value: entry
diff --git a/yaml/xyz/openbmc_project/Logging/Event.interface.yaml b/yaml/xyz/openbmc_project/Logging/Event.interface.yaml index 0c79c36..fb5d04a 100755 --- a/yaml/xyz/openbmc_project/Logging/Event.interface.yaml +++ b/yaml/xyz/openbmc_project/Logging/Event.interface.yaml
@@ -28,3 +28,9 @@ type: array[string] description: > Additional information in the form of metadata field strings VAR=val + +service_names: + - default: xyz.openbmc_project.Logging + +paths: + - namespace: /xyz/openbmc_project/logging