metadata: introduce 'process' keyword
An error metadata field that has the 'process' keyword set to true is
an indication that this metadata will have some associated action that
will take place after this metadata (and associated error) is logged to
the journal and before the associated error is committed.
The associated action will have to be implemented when adding the
'process' keyword.
Add 'process' keyword to an example error definition.
Change-Id: I42ab3fa230479000a88a18046548242c0043ac86
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
diff --git a/tools/example/xyz/openbmc_project/Example/Elog.metadata.yaml b/tools/example/xyz/openbmc_project/Example/Elog.metadata.yaml
index 77b60f8..64db7fc 100644
--- a/tools/example/xyz/openbmc_project/Example/Elog.metadata.yaml
+++ b/tools/example/xyz/openbmc_project/Example/Elog.metadata.yaml
@@ -17,6 +17,7 @@
type: uint32
- str: DEV_ID=%u
type: uint32
+ process: true
- str: DEV_NAME=%s
type: string