Add Entry and create parameters enum for resource dump.
Resource dump is a dump created by hypervisor with a set of
contents based on the provided resource selector. This commit
add an entry and additional parameters for creating a
resource dump.
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
Change-Id: I9e7b6a71f269e4918f646feb381c575ffa59c172
diff --git a/com/ibm/Dump/Entry/Resource.interface.yaml b/com/ibm/Dump/Entry/Resource.interface.yaml
new file mode 100644
index 0000000..da5332f
--- /dev/null
+++ b/com/ibm/Dump/Entry/Resource.interface.yaml
@@ -0,0 +1,26 @@
+description: >
+ Implement this to add Resource dump management.
+
+ The resource dumps are special types of dumps
+ generated by host hypervisor. The dump is generated
+ based on the resource selector. Hyperviosr needs
+ a password to validate the request before creating the dump.
+
+properties:
+ - name: SourceDumpId
+ type: uint32
+ description: >
+ The dump id provided by the source of the dump.
+ There are dumps which get generated outside the BMC, like a
+ resource dump which gets generated and stored in the host memory.
+ All dumps will have a unique id but when communicating
+ to the source of the dump the SourceDumpId will be used.
+ - name: VSPString
+ type: string
+ description: >
+ The resource selector for generating the dump.
+ - name: Password
+ type: string
+ description: >
+ The password required by host to validate the request.
+