diff options
author | Manojkiran Eda <manojkiran.eda@gmail.com> | 2021-04-21 20:16:14 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2021-05-04 19:32:06 +0300 |
commit | 4a0bf539728cada806fc7a16a208edc6332bdb86 (patch) | |
tree | 551d6dfd880fca1dd0b867a3356dea6d1049e47f /redfish-core/include/registries | |
parent | d3d26ba270b55ad0d76b45816fbc8fb6a8cd4489 (diff) | |
download | bmcweb-4a0bf539728cada806fc7a16a208edc6332bdb86.tar.xz |
Change the word TS to Time Stamp & add time unit
- The Message argument in the BIOSPOSTCode Message Entry
uses short form wording for TS (Time Stamp) & without any time unit.
- As the Message argument is directly displayed on OpenBMC GUI
as it is, word "TS" would create customer confusion due to it
not being a well known acronym. Also a field like this that
captures a physical quantity(time) should have units.
- Redfish clients should not be parsing the message argument, so
changing this wording should not break them.
- Also, this commit changes ":" to ";" in the Message argument to
makes things look consistent.
- As we changed the content of Message in the Message Entry, we had to
bump up the minor version of the Message registry.
Tested By:
1. Redfish Validator Passed.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I17924c2dfdcf34563f8f8cd325011e13cb70e476
Diffstat (limited to 'redfish-core/include/registries')
-rw-r--r-- | redfish-core/include/registries/openbmc_message_registry.hpp | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/redfish-core/include/registries/openbmc_message_registry.hpp b/redfish-core/include/registries/openbmc_message_registry.hpp index 5eb9380cde..ba32c11e3a 100644 --- a/redfish-core/include/registries/openbmc_message_registry.hpp +++ b/redfish-core/include/registries/openbmc_message_registry.hpp @@ -21,12 +21,12 @@ namespace redfish::message_registries::openbmc const Header header = { "Copyright 2018 OpenBMC. All rights reserved.", "#MessageRegistry.v1_4_0.MessageRegistry", - "OpenBMC.0.1.0", + "OpenBMC.0.2.0", "OpenBMC Message Registry", "en", "This registry defines the base messages for OpenBMC.", "OpenBMC", - "0.1.0", + "0.2.0", "OpenBMC", }; constexpr std::array<MessageEntry, 187> registry = { @@ -186,16 +186,17 @@ constexpr std::array<MessageEntry, 187> registry = { }, "None.", }}, - MessageEntry{"BIOSPOSTCode", - { - "BIOS Power-On Self-Test Code received", - "Boot Count: %1: TS Offset: %2; POST Code: %3", - "OK", - "OK", - 3, - {"number", "number", "number"}, - "None.", - }}, + MessageEntry{ + "BIOSPOSTCode", + { + "BIOS Power-On Self-Test Code received", + "Boot Count: %1; Time Stamp Offset: %2 seconds; POST Code: %3", + "OK", + "OK", + 3, + {"number", "number", "number"}, + "None.", + }}, MessageEntry{"BIOSPOSTError", { "Indicates BIOS POST has encountered an error.", |