com-ibm-dump: Add response code to resource dump entry
Add new property in the resource dump entry for storing the
response code returned by the host after requesting a new
resource dump.
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
Change-Id: I55a4de4e2b77c0387fba7412c122c28e9acdde7b
diff --git a/yaml/com/ibm/Dump/Entry/Resource.interface.yaml b/yaml/com/ibm/Dump/Entry/Resource.interface.yaml
index 594ae9c..4372b42 100644
--- a/yaml/com/ibm/Dump/Entry/Resource.interface.yaml
+++ b/yaml/com/ibm/Dump/Entry/Resource.interface.yaml
@@ -28,3 +28,36 @@
A token exchanged with an external firmware subsystem when creating a
dump outside of the BMC. This token can be used to identify the dump
entry once the collection is completed.
+ - name: DumpRequestStatus
+ type: enum[self.HostResponse]
+ description: >
+ The host will send a response code for each request to create a
+ resource dump to indicate whether the request is successful or there
+ is an error.
+ default: Requested
+
+enumerations:
+ - name: HostResponse
+ description: >
+ These are the possible response codes from the host after sending a
+ resource dump request.
+ values:
+ - name: Requested
+ description: >
+ Requested for resource dump and awaiting the host response
+ - name: Success
+ description: >
+ Resource dump parameters and ACF data are successfully validated
+ - name: ACFFileInvalid
+ description: >
+ Invalid ACF file
+ - name: UserChallengeInvalid
+ description: >
+ User challenge provided is not valid
+ - name: PermissionDenied
+ descVSPtion: >
+ Caller does not have enough privileges to execute the requested
+ VSP string
+ - name: ResourceSelectorInvalid
+ description: >
+ Resource selector(VSP String) provided is not valid