summaryrefslogtreecommitdiff
path: root/include/vm_websocket.hpp
diff options
context:
space:
mode:
authorJames Feist <james.feist@linux.intel.com>2019-10-23 00:33:16 +0300
committerJames Feist <james.feist@linux.intel.com>2019-10-24 20:35:00 +0300
commit5bc2dc8e385484539fa9b636c0a53dabcd0b2b2c (patch)
tree2b9cca4eb3991069c6dbf49811e21dd671e0f15d /include/vm_websocket.hpp
parent22984074fa0ec13967fe95b93282de2294411c6b (diff)
downloadbmcweb-5bc2dc8e385484539fa9b636c0a53dabcd0b2b2c.tar.xz
Add Health to Memory and Processor Summary
These fields were missing Health. Add health objects to get the health associated with these items. Also update the health object to be able to add more than the 'main' health for a url, by allowing passing a json reference. Also, add a 'children' vector of more shared_ptr<HealthPopulate> so we don't double up on d-bus calls. Tested: "MemorySummary": { "Status": { "Health": "OK", "HealthRollup": "OK", "State": "Disabled" }, "TotalSystemMemoryGiB": 0 }, "Model": "S2600WFT", "Name": "system", "PartNumber": "..........", "PowerState": "On", "ProcessorSummary": { "Count": 2, "Model": "Intel Xeon processor", "Status": { "Health": "OK", "HealthRollup": "OK", "State": "Enabled" } }, Change-Id: I06f802da93a44cfbac40b63d507e3b9faf0c999a Signed-off-by: James Feist <james.feist@linux.intel.com>
Diffstat (limited to 'include/vm_websocket.hpp')
0 files changed, 0 insertions, 0 deletions