palmetto: added "mutability"
Added "mutability" flag to indicate if a sensor is READ/WRITE/RW.
Change-Id: Ifd13c0573abfbee23f99d11e0362cdaf9bea1eb5
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
diff --git a/meta-palmetto/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml b/meta-palmetto/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
index ca1ffa7..9880d0a 100755
--- a/meta-palmetto/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
+++ b/meta-palmetto/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
@@ -4,6 +4,7 @@
sensorReadingType: 0x6F
serviceInterface: org.freedesktop.DBus.Properties
readingType: eventdata2
+ mutability: Mutability::Write|Mutability::Read
interfaces:
xyz.openbmc_project.State.Boot.Progress:
BootProgress:
@@ -32,6 +33,7 @@
sensorReadingType: 0x09
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion
+ mutability: Mutability::Write|Mutability::Read
interfaces:
org.open_power.OCC.Status:
OccActive:
@@ -50,6 +52,7 @@
sensorReadingType: 0x6F
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingAssertion
+ mutability: Mutability::Write|Mutability::Read
interfaces:
xyz.openbmc_project.Control.Boot.RebootAttempts:
AttemptsLeft:
@@ -62,6 +65,7 @@
sensorReadingType: 0x6F
serviceInterface: xyz.openbmc_project.Inventory.Manager
readingType: assertion
+ mutability: Mutability::Write|Mutability::Read
interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
@@ -88,6 +92,7 @@
sensorReadingType: 0x6F
serviceInterface: xyz.openbmc_project.Inventory.Manager
readingType: assertion
+ mutability: Mutability::Write|Mutability::Read
interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
@@ -114,6 +119,7 @@
sensorReadingType: 0x6F
serviceInterface: xyz.openbmc_project.Inventory.Manager
readingType: assertion
+ mutability: Mutability::Write|Mutability::Read
interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
@@ -140,6 +146,7 @@
sensorReadingType: 0x6F
serviceInterface: xyz.openbmc_project.Inventory.Manager
readingType: assertion
+ mutability: Mutability::Write|Mutability::Read
interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
@@ -166,6 +173,7 @@
sensorReadingType: 0x6F
serviceInterface: xyz.openbmc_project.Inventory.Manager
readingType: assertion
+ mutability: Mutability::Write|Mutability::Read
interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
@@ -193,6 +201,7 @@
sensorReadingType: 0x6F
serviceInterface: xyz.openbmc_project.Inventory.Manager
readingType: assertion
+ mutability: Mutability::Write|Mutability::Read
interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
@@ -220,6 +229,7 @@
sensorReadingType: 0x6F
serviceInterface: xyz.openbmc_project.Inventory.Manager
readingType: assertion
+ mutability: Mutability::Write|Mutability::Read
interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
@@ -247,6 +257,7 @@
sensorReadingType: 0x6F
serviceInterface: xyz.openbmc_project.Inventory.Manager
readingType: assertion
+ mutability: Mutability::Write|Mutability::Read
interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
@@ -274,6 +285,7 @@
sensorReadingType: 0x6F
serviceInterface: xyz.openbmc_project.Inventory.Manager
readingType: assertion
+ mutability: Mutability::Write|Mutability::Read
interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
@@ -301,6 +313,7 @@
sensorReadingType: 0x6F
serviceInterface: xyz.openbmc_project.Inventory.Manager
readingType: assertion
+ mutability: Mutability::Write|Mutability::Read
interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
@@ -328,6 +341,7 @@
sensorReadingType: 0x6F
serviceInterface: xyz.openbmc_project.Inventory.Manager
readingType: assertion
+ mutability: Mutability::Write|Mutability::Read
interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
@@ -355,6 +369,7 @@
sensorReadingType: 0x6F
serviceInterface: xyz.openbmc_project.Inventory.Manager
readingType: assertion
+ mutability: Mutability::Write|Mutability::Read
interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
@@ -382,6 +397,7 @@
sensorReadingType: 0x6F
serviceInterface: xyz.openbmc_project.Inventory.Manager
readingType: assertion
+ mutability: Mutability::Write|Mutability::Read
interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
@@ -409,6 +425,7 @@
sensorReadingType: 0x6F
serviceInterface: xyz.openbmc_project.Inventory.Manager
readingType: assertion
+ mutability: Mutability::Write|Mutability::Read
interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
@@ -436,6 +453,7 @@
sensorReadingType: 0x6F
serviceInterface: xyz.openbmc_project.Inventory.Manager
readingType: assertion
+ mutability: Mutability::Write|Mutability::Read
interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
@@ -463,6 +481,7 @@
sensorReadingType: 0x6F
serviceInterface: xyz.openbmc_project.Inventory.Manager
readingType: assertion
+ mutability: Mutability::Write|Mutability::Read
interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
@@ -490,6 +509,7 @@
sensorReadingType: 0x6F
serviceInterface: xyz.openbmc_project.Inventory.Manager
readingType: assertion
+ mutability: Mutability::Write|Mutability::Read
interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
@@ -516,6 +536,7 @@
sensorReadingType: 0x6F
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion
+ mutability: Mutability::Write|Mutability::Read
interfaces:
xyz.openbmc_project.State.OperatingSystem.Status:
OperatingSystemState: