summaryrefslogtreecommitdiff
path: root/meta-openbmc-mods/meta-common/recipes-phosphor/dbus/phosphor-dbus-interfaces/0026-Add-StandbySpare-support-for-software-inventory.patch
blob: 25ed9a4035b1f7dc3ca8eba0c7c05bf560c3a463 (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
50
51
52
53
54
55
From 826946ecad67b34818db0634367c4cf7100d0890 Mon Sep 17 00:00:00 2001
From: Vikram Bodireddy <vikram.bodireddy@intel.com>
Date: Wed, 15 Jan 2020 10:01:04 +0800
Subject: [PATCH] Add StandbySpare support for software inventory

Add support to allow update for active / recovery
regions of specified firmware. This update enables
the backend modules to advertise whether the
software object is active or recovery (StandbySpare)
image.

Signed-off-by: Vikram Bodireddy <vikram.bodireddy@intel.com>
---
 .../Software/Activation.interface.yaml               | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/yaml/xyz/openbmc_project/Software/Activation.interface.yaml b/yaml/xyz/openbmc_project/Software/Activation.interface.yaml
index 6af2984b7b2e..26ab87b0262d 100644
--- a/yaml/xyz/openbmc_project/Software/Activation.interface.yaml
+++ b/yaml/xyz/openbmc_project/Software/Activation.interface.yaml
@@ -28,12 +28,20 @@ enumerations:
         - name: Activating
           description: >
             The Software.Version is in the process of being Activated.
+        - name: ActivatingAsStandbySpare
+          description: >
+            The Software.Version is in the process of being processed
+            as StandbySpare.
         - name: Active
           description: >
             The Software.Version is currently Active.
         - name: Failed
           description: >
             The Software.Version failed during or after Activation.
+        - name: StandbySpare
+          description: >
+            The Software.Version is part of a redundancy set and awaits
+            a failover or external action to activate.
         - name: Staged
           description: >
             The Software.Version is currently in staged flash area.
@@ -52,6 +60,10 @@ enumerations:
         - name: Active
           description: >
             The Software.Version has been requested for Activation.
+        - name: StandbySpare
+          description: >
+            The Software.Version has been requested to be enabled as
+            StandbySpare.
 # 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.
-- 
2.17.1