blob: 2afa5b38b32bfdf99789b82832367de9227dd361 [file] [log] [blame]
Dhruvaraj Subhashchandrand6217802020-09-08 23:05:43 -05001description: >
Patrick Williamsa1347412022-12-06 10:56:22 -06002 Implement to provide the progress on user requested activity. Objects which
3 implements this interface should implement xyz.openbmc_project.Object.Delete
4 to delete individual entries. The service hosting this interface should
5 clear the entries after some time or reaching some number of entries in
6 stable states like completed, failed or aborted.
Dhruvaraj Subhashchandrand6217802020-09-08 23:05:43 -05007
8properties:
9 - name: Status
10 type: enum[self.OperationStatus]
11 default: InProgress
12 description: >
13 Indicate the state of the operation, whether in progress, completed
14 aborted or failed. The default should be InProgress during the
15 implementation if no input is provided.
16 - name: StartTime
17 type: uint64
18 description: >
Patrick Williamsa1347412022-12-06 10:56:22 -060019 Indicates when the request is created since the Epoch (1 Jan 1970
20 00:00:00 UTC), in microseconds.
Dhruvaraj Subhashchandrand6217802020-09-08 23:05:43 -050021 - name: CompletedTime
22 type: uint64
23 description: >
Patrick Williamsa1347412022-12-06 10:56:22 -060024 Indicates when the state is completed since the Epoch (1 Jan 1970
25 00:00:00 UTC), in microseconds.
Dhruvaraj Subhashchandrand6217802020-09-08 23:05:43 -050026
27enumerations:
28 - name: OperationStatus
29 description: >
Patrick Williams8da396c2022-03-14 14:21:02 -050030 Status of the activity
Dhruvaraj Subhashchandrand6217802020-09-08 23:05:43 -050031 values:
Patrick Williams8da396c2022-03-14 14:21:02 -050032 - name: InProgress
33 description: >
34 Requested operation is in progress.
35 - name: Completed
36 description: >
37 The operation is completed.
38 - name: Failed
39 description: >
40 The operation encountered a failure.
41 - name: Aborted
42 description: >
43 The operation is aborted.