Revert "Update Notify method to remove unused DumpType"
This reverts commit a9825f2ff27a6a941179a1634dfefbf9cee4ca74.
There are some co-reqs that need to go with this from other repos. Lets
revert until those other commits (and their maintainers) are ready and
available to merge.
Currently, all of our repository CI is broken due to this.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I7fe1872edc2c436fd2869b471a1b3981c050d8ad
diff --git a/xyz/openbmc_project/Dump/NewDump.interface.yaml b/xyz/openbmc_project/Dump/NewDump.interface.yaml
index 6fa5809..1e37990 100644
--- a/xyz/openbmc_project/Dump/NewDump.interface.yaml
+++ b/xyz/openbmc_project/Dump/NewDump.interface.yaml
@@ -13,6 +13,10 @@
description: >
Create a dump entry based on the parameters.
parameters:
+ - name: DumpType
+ type: enum[self.DumpType]
+ description: >
+ Type of the dump
- name: SourceDumpId
type: uint32
description: >
@@ -26,4 +30,14 @@
description: >
Size of the dump in bytes
errors:
+ - xyz.openbmc_project.Common.Error.InternalFailure
- xyz.openbmc_project.Dump.Create.Error.Disabled
+
+enumerations:
+ - name: DumpType
+ description:
+ Type of the dump
+ values:
+ - name: System
+ description: >
+ A dump created during a critical failure in the host.