History log of /openbmc/bmcweb/features/redfish/include/generated/enums/manager.hpp (Results 1 – 5 of 5)
Revision Date Author Comments
# c6d7a45d 17-Jun-2025 Gunnar Mills <gmills@us.ibm.com>

Update to 2025.2

1 line change in update_schemas.py and rerun it.

See below for more info on this release [1]

Tested: Inspection only. These have not broke things in the past.

[1]: https://www.dm

Update to 2025.2

1 line change in update_schemas.py and rerun it.

See below for more info on this release [1]

Tested: Inspection only. These have not broke things in the past.

[1]: https://www.dmtf.org/sites/default/files/Redfish_Release_2025.2_Overview.pdf

Change-Id: I641bc4285fa502a5d81318ff56eaeb75c0af4762
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>

show more ...


# d125652e 25-Mar-2025 Gunnar Mills <gmills@us.ibm.com>

Update to 2025.1

1 line change in update_schemas.py and rerun it.

See below for more info on this release:
https://www.dmtf.org/content/redfish-release-20251-now-available

Tested: Inspection only.

Update to 2025.1

1 line change in update_schemas.py and rerun it.

See below for more info on this release:
https://www.dmtf.org/content/redfish-release-20251-now-available

Tested: Inspection only. These have not broke things in the past.

Change-Id: I8d386725b364e2bc7c91c869e519e5e7bfbf11f9
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>

show more ...


# 9b46bc0b 21-Jan-2025 Myung Bae <myungbae@us.ibm.com>

Update to 2024.4

Update schema to the latest release 2024.4.

See below for more info on this release:
https://www.dmtf.org/standards/redfish

Tested:
- Redfish Service Validator passes

Change-Id:

Update to 2024.4

Update schema to the latest release 2024.4.

See below for more info on this release:
https://www.dmtf.org/standards/redfish

Tested:
- Redfish Service Validator passes

Change-Id: I1845d6afa04ee418ba3ab0bd0bc8ce59886e4376
Signed-off-by: Myung Bae <myungbae@us.ibm.com>

show more ...


# 40e9b92e 10-Sep-2024 Ed Tanous <etanous@nvidia.com>

Use SPDX identifiers

SPDX identifiers are simpler, and reduce the amount of cruft we have in
code files. They are recommended by linux foundation, and therefore we
should do as they allow.

This pa

Use SPDX identifiers

SPDX identifiers are simpler, and reduce the amount of cruft we have in
code files. They are recommended by linux foundation, and therefore we
should do as they allow.

This patchset does not intend to modify any intent on any existing
copyrights or licenses, only to standardize their inclusion.

[1] https://www.linuxfoundation.org/blog/blog/copyright-notices-in-open-source-software-projects

Change-Id: I935c7c0156caa78fc368c929cebd0f068031e830
Signed-off-by: Ed Tanous <etanous@nvidia.com>

show more ...


# 0ec8b83d 14-Mar-2022 Ed Tanous <edtanous@google.com>

Generate Redfish enums from schemas

OpenBMC tends to have a significant problem in doing the appropriate
lookups from the schema files, and many bugs have been injected by users
picking a bad enum,

Generate Redfish enums from schemas

OpenBMC tends to have a significant problem in doing the appropriate
lookups from the schema files, and many bugs have been injected by users
picking a bad enum, or mistyping the casing of an enum value.

At the same time, nlohmann::json has recently added first class support
for enums, https://json.nlohmann.me/features/enum_conversion/

This commit attempts to build a set of redfish includes file with all
the available Redfish enums in an easy to use enum class. This makes it
very clear which enums are supported by the schemas we produce, and adds
very little to no extra boilerplate on the human-written code we
produced previously.

Note, in the generated enum class, because of our use of the clang-tidy
check for macros, the clang-tidy check needs an exception for these
macros that don't technically follow the coding standard. This seems
like a reasonable compromise, and in this case, given that nlohmann
doesn't support a non-macro version of this.

One question that arises is what this does to the binary size.... Under
the current compiler optimizations, and with the current best practices,
it leads to an overall increase in binary size of ~1200 bytes for the
enum machinery, then approximately 200 bytes for every call site we
switch over. We should decide if this nominal increase is reasonable.

Tested: Redfish protocol validator runs with same number of failures as
previously.
Redfish Service Validator passes (one unrelated qemu-specific exception)

Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I7c7ee4db0823f7c57ecaa59620b280b53a46e2c1

show more ...