1description: >
2    Activation state for an associated xyz.openbmc_project.Software.Version.
3properties:
4    - name: Activation
5      type: enum[self.Activations]
6      description: >
7        The current Activation state of the Software.Version.
8    - name: RequestedActivation
9      type: enum[self.RequestedActivations]
10      description: >
11        The desired Activation state of the Software.Version.
12enumerations:
13    - name: Activations
14      description: >
15        The possible Activation states of the Software.Version.
16      values:
17        - name: NotReady
18          description: >
19            The system is still analyzing the Software.Version and is
20            currently unable to activate.
21        - name: Invalid
22          description: >
23            The Software.Version is invalid and unable to be activated.
24        - name: Ready
25          description: >
26            The Software.Version has been processed and is ready for
27            Activation.
28        - name: Activating
29          description: >
30            The Software.Version is in the process of being Activated.
31        - name: Active
32          description: >
33            The Software.Version is currently Active.
34        - name: Failed
35          description: >
36            The Software.Version failed during or after Activation.
37        - name: Staged
38          description: >
39            The Software.Version is currently in staged flash area.
40            This is moved from staged flash area to active upon reset.
41        - name: Staging
42          description: >
43            The Software.Version is currently being staged into the
44            staging flash area.
45    - name: RequestedActivations
46      description: >
47        The possible RequestedActivation states of a Software.Version.
48      values:
49        - name: None
50          description: >
51            No action has been directed for this Software.Version.
52        - name: Active
53          description: >
54            The Software.Version has been requested for Activation.
55# TODO: Specify "EAGAIN" type error when requested is unable to be acted on
56#       due to current system state.  Currently, sdbusplus does not support
57#       errors on properties.
58