summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project/Software/Activation.interface.yaml
blob: 37c9cb97451b4f24f0f5fffdcfa18b1127ef8a99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
description: >
    Activation state for an associated xyz.openbmc_project.Software.Version.
properties:
    - name: Activation
      type: enum[self.Activations]
      description: >
        The current Activation state of the Software.Version.
    - name: RequestedActivation
      type: enum[self.RequestedActivations]
      description: >
        The desired Activation state of the Software.Version.
enumerations:
    - name: Activations
      description: >
        The possible Activation states of the Software.Version.
      values:
        - name: NotReady
          description: >
            The system is still analyzing the Software.Version and is
            currently unable to activate.
        - name: Invalid
          description: >
            The Software.Version is invalid and unable to be activated.
        - name: Ready
          description: >
            The Software.Version has been processed and is ready for
            Activation.
        - name: Activating
          description: >
            The Software.Version is in the process of being Activated.
        - name: Active
          description: >
            The Software.Version is currently Active.
        - name: Failed
          description: >
            The Software.Version failed during or after Activation.
    - name: RequestedActivations
      description: >
        The possible RequestedActivation states of a Software.Version.
      values:
        - name: None
          description: >
            No action has been directed for this Software.Version.
        - name: Active
          description: >
            The Software.Version has been requested for Activation.
# TODO: Specify "EAGAIN" type error when requested is unable to be acted on
#       due to current system state.  Currently, sdbusplus does not support
#       errors on properties.
OpenPOWER on IntegriCloud