summaryrefslogtreecommitdiffstats
path: root/xyz
diff options
context:
space:
mode:
authorJayanth Othayoth <ojayanth@in.ibm.com>2017-05-25 07:22:03 -0500
committerJayanth Othayoth <ojayanth@in.ibm.com>2017-06-02 02:36:33 -0500
commit23ebc262d2d3ede1dddf3fe0a6e93734cd985d9d (patch)
treeac8b6d70972614710e6514eea7c2880566ac1cf4 /xyz
parent224882b0a744bbee8b1a8229f54a854cac4aea30 (diff)
downloadphosphor-debug-collector-23ebc262d2d3ede1dddf3fe0a6e93734cd985d9d.tar.gz
phosphor-debug-collector-23ebc262d2d3ede1dddf3fe0a6e93734cd985d9d.zip
Add internal interface to create BMC Dump based on the type.
Change-Id: I098e8b29834fd726574126ec589a883ba952b298 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Diffstat (limited to 'xyz')
-rw-r--r--xyz/openbmc_project/Dump/Internal/Create.interface.yaml34
1 files changed, 34 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Dump/Internal/Create.interface.yaml b/xyz/openbmc_project/Dump/Internal/Create.interface.yaml
new file mode 100644
index 0000000..4d3150b
--- /dev/null
+++ b/xyz/openbmc_project/Dump/Internal/Create.interface.yaml
@@ -0,0 +1,34 @@
+description: >
+ Implement to capture BMC Dump based on type.
+
+methods:
+ - name: Create
+ description: >
+ Create BMC Dump based on the Dump type.
+ parameters:
+ - name: Type
+ type: enum[self.Type]
+ description: >
+ Type of the Dump.
+ - name: FullPaths
+ type: array[string]
+ description: >
+ List of absolute paths to the files to be included
+ as part of Dump package.
+ errors:
+ - xyz.openbmc_project.Common.Error.InternalFailure
+ - xyz.openbmc_project.Common.File.Error.Write
+ - xyz.openbmc_project.Dump.Create.Error.Disabled
+ - xyz.openbmc_project.Dump.Create.Error.QuotaExceeded
+
+enumerations:
+ - name: Type
+ description: >
+ Possible types of BMC Dump.
+ values:
+ - name: ApplicationCored
+ description: >
+ Dump triggered due to application core.
+
+
+# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
OpenPOWER on IntegriCloud