Add InputUnavailableAsFailed and newer to PID
These apply to both PID and Stepwise, and are the same in both.
Adding InputUnavailableAsFailed, an optional boolean parameter,
already implemented and merged some time ago:
https://gerrit.openbmc.org/c/openbmc/phosphor-pid-control/+/47606
Also adding two new parameters, implemented but not yet merged.
MissingIsAcceptable, optional, an array of strings:
https://gerrit.openbmc.org/c/openbmc/phosphor-pid-control/+/60888
TempToMargin, optional, an array of numbers:
https://gerrit.openbmc.org/c/openbmc/phosphor-pid-control/+/60303
Signed-off-by: Josh Lehan <krellan@google.com>
Change-Id: I8a4193618e980208883e2f2093d72c2a1fe934ec
diff --git a/schemas/pid.json b/schemas/pid.json
index 4bff66b..23ed1a1 100644
--- a/schemas/pid.json
+++ b/schemas/pid.json
@@ -31,6 +31,15 @@
"type": "string"
}
},
+ "InputUnavailableAsFailed": {
+ "type": "boolean"
+ },
+ "MissingIsAcceptable": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
"Name": {
"type": "string"
},
@@ -61,6 +70,12 @@
"SlewPos": {
"type": "number"
},
+ "TempToMargin": {
+ "type": "array",
+ "items": {
+ "type": "number"
+ }
+ },
"Type": {
"type": "string"
},