summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2019-04-01 20:01:58 +0300
committerGunnar Mills <gmills@us.ibm.com>2019-04-02 16:04:58 +0300
commit21087210733a5dd654490153df22d3e0825f3ffe (patch)
tree44767bfc91dbae73cb5fc0ad2d59ef307ccba453
parent2634dcd96bf5c8171adad9da810fe1d54589703e (diff)
downloadbmcweb-21087210733a5dd654490153df22d3e0825f3ffe.tar.xz
Fix DCPowerOff.NumberOfArgs Mandatory prop
The RedfishServiceValidator throws the following error: "ERROR - Messages.DCPowerOff.NumberOfArgs: Mandatory prop does not exist" for #MessageRegistry.v1_0_0.MessageRegistry. From https://redfish.dmtf.org/schemas/MessageRegistry.v1_0_0.json "required": [ "Description", "Message", "Severity", "NumberOfArgs", "Resolution" ], Tested: Loaded this change on a Witherspoon, ran RedfishServiceValidator and no longer observe the error. Change-Id: I9ccf3703bc6b06d2bd74f548e1bd4e2badd68c07 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
-rw-r--r--static/redfish/v1/Registries/OpenBMC/OpenBMC.0.1.0.json8
1 files changed, 5 insertions, 3 deletions
diff --git a/static/redfish/v1/Registries/OpenBMC/OpenBMC.0.1.0.json b/static/redfish/v1/Registries/OpenBMC/OpenBMC.0.1.0.json
index 3e130580b7..572061d502 100644
--- a/static/redfish/v1/Registries/OpenBMC/OpenBMC.0.1.0.json
+++ b/static/redfish/v1/Registries/OpenBMC/OpenBMC.0.1.0.json
@@ -109,13 +109,15 @@
"Description": "Indicates that the system DC power is off.",
"Message": "Host system DC power is off",
"Severity": "OK",
- "Resolution": "None."
+ "Resolution": "None.",
+ "NumberOfArgs": 0
},
"DCPowerOn": {
"Description": "Indicates that the system DC power is on.",
"Message": "Host system DC power is on",
"Severity": "OK",
- "Resolution": "None."
+ "Resolution": "None.",
+ "NumberOfArgs": 0
}
}
-} \ No newline at end of file
+}