Common.Progress: add new value to OperationStatus
To capture state of operation where it has not yet started, new enum
value ‘NotStarted’ has been added to OperationStatus and default value
is set as NotStarted to indicate operation is not yet started.
Change-Id: I1d52ca4debd87153fb4e15a2568249749051c80e
Signed-off-by: Anupama B R <anupama.b.r1@ibm.com>
diff --git a/yaml/xyz/openbmc_project/Common/Progress.interface.yaml b/yaml/xyz/openbmc_project/Common/Progress.interface.yaml
index 2afa5b3..7d3bd61 100644
--- a/yaml/xyz/openbmc_project/Common/Progress.interface.yaml
+++ b/yaml/xyz/openbmc_project/Common/Progress.interface.yaml
@@ -8,7 +8,7 @@
properties:
- name: Status
type: enum[self.OperationStatus]
- default: InProgress
+ default: NotStarted
description: >
Indicate the state of the operation, whether in progress, completed
aborted or failed. The default should be InProgress during the
@@ -29,6 +29,9 @@
description: >
Status of the activity
values:
+ - name: NotStarted
+ description: >
+ Requested operation is not started.
- name: InProgress
description: >
Requested operation is in progress.