Redfish 2025.31 line change in scripts/update_schemas.py to point at 2025.3 and runthe script.See below for more info on this release [1]Tested: Inspection only. These have not broke things in
Redfish 2025.31 line change in scripts/update_schemas.py to point at 2025.3 and runthe script.See below for more info on this release [1]Tested: Inspection only. These have not broke things in the past.Symlinks are getting updated:```head -n 4 redfish-core/schema/dmtf/json-schema-installed/ComputerSystem.v1_*.json{ "$id": "http://redfish.dmtf.org/schemas/v1/ComputerSystem.v1_26_0.json", "$ref": "#/definitions/ComputerSystem", "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",```[1]: https://www.dmtf.org/sites/default/files/Redfish_Release_2025.3_Overview.pdfChange-Id: Icc0e7b2bc775be6fa0f842670820319b79606507Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
Update to 2025.21 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.21 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.pdfChange-Id: I641bc4285fa502a5d81318ff56eaeb75c0af4762Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Add TypeDefinition support for enumeration generationTypeDefinition was not supported by generate_schema_enums.py, thischange is to support the 'TypeDefinition' generation from schema.Tested:'T
Add TypeDefinition support for enumeration generationTypeDefinition was not supported by generate_schema_enums.py, thischange is to support the 'TypeDefinition' generation from schema.Tested:'TypeDefinition' fields in schema can be generated in generated fileswith the changeChange-Id: Ibe61f65b905f2089f9e17a26fbd27e3ff1753166Signed-off-by: Chandramohan Harkude <chandramohan.harkude@gmail.com>
Update to 2025.11 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-availableTested: Inspection only.
Update to 2025.11 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-availableTested: Inspection only. These have not broke things in the past.Change-Id: I8d386725b364e2bc7c91c869e519e5e7bfbf11f9Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Update to 2024.4Update schema to the latest release 2024.4.See below for more info on this release:https://www.dmtf.org/standards/redfishTested:- Redfish Service Validator passesChange-Id:
Update to 2024.4Update schema to the latest release 2024.4.See below for more info on this release:https://www.dmtf.org/standards/redfishTested:- Redfish Service Validator passesChange-Id: I1845d6afa04ee418ba3ab0bd0bc8ce59886e4376Signed-off-by: Myung Bae <myungbae@us.ibm.com>
Use SPDX identifiersSPDX identifiers are simpler, and reduce the amount of cruft we have incode files. They are recommended by linux foundation, and therefore weshould do as they allow.This pa
Use SPDX identifiersSPDX identifiers are simpler, and reduce the amount of cruft we have incode files. They are recommended by linux foundation, and therefore weshould do as they allow.This patchset does not intend to modify any intent on any existingcopyrights or licenses, only to standardize their inclusion.[1] https://www.linuxfoundation.org/blog/blog/copyright-notices-in-open-source-software-projectsChange-Id: I935c7c0156caa78fc368c929cebd0f068031e830Signed-off-by: Ed Tanous <etanous@nvidia.com>
Update to 2024.31 line change in update_schemas.py and rerun it.See below for more info on this release:https://www.dmtf.org/content/redfish-release-20243-now-availableTested: Inspection only.
Update to 2024.31 line change in update_schemas.py and rerun it.See below for more info on this release:https://www.dmtf.org/content/redfish-release-20243-now-availableTested: Inspection only.Change-Id: I856b9777fd386f828724bd7a521dcd5c8c3270cfSigned-off-by: Gunnar Mills <gmills@us.ibm.com>
Update to 2024.2Redfish changed the directory structure again. Don't see that ZipFilehas a "cd" so insert the version in the path when checking or buildingthe path.You can see this directory st
Update to 2024.2Redfish changed the directory structure again. Don't see that ZipFilehas a "cd" so insert the version in the path when checking or buildingthe path.You can see this directory structure change by downloading 2024.2 vs2024.1. Also by printing the ZipFile Info.<ZipInfo filename='DSP8010_2024.2/info.json' compress_type=deflatefilemode='-rw-r--r--' file_size=54 compress_size=42>This is how we used to do it. [1][1]: https://github.com/openbmc/bmcweb/commit/60c922dfacd5d1aeec8789e03edc91b47f4a6661Make the changes for the script, bump the version, and run the script.See below for more info on this release:https://www.dmtf.org/content/redfish-release-20242-now-availableTested: Validator is happy.Change-Id: I87674d5b9ff19b39d3cdf2fb046543e21a6ebc5bSigned-off-by: Gunnar Mills <gmills@us.ibm.com>
OemComputerSystem -> OpenBMCComputerSystemRename these and add a version like we've done other places.Partial fix for #184Change-Id: I9039974a90f6508bdd474e6363a3df7286b1473cSigned-off-by: Ed
OemComputerSystem -> OpenBMCComputerSystemRename these and add a version like we've done other places.Partial fix for #184Change-Id: I9039974a90f6508bdd474e6363a3df7286b1473cSigned-off-by: Ed Tanous <ed@tanous.net>
Pull in 2024.1 schemasRedfish released 2024.1 in May.https://www.dmtf.org/content/redfish-release-20241-now-available"The bundle includes 29 schema updates and additional developerresources." T
Pull in 2024.1 schemasRedfish released 2024.1 in May.https://www.dmtf.org/content/redfish-release-20241-now-available"The bundle includes 29 schema updates and additional developerresources." There was a request on the discord server to pull this in.Changed 1 line scripts/update_schemas.py and reran the tool.Tested: None. Inspection only. Picking up new schemas hasn't causedproblems in the past.Change-Id: I44f08ab56ad2f97b757b48003ac97a2f914bd8eaSigned-off-by: Gunnar Mills <gmills@us.ibm.com>
Bump Redfish schemas to 2023.3Redfish released 2023.3 1/25/2024.https://www.dmtf.org/content/redfish-release-20233-now-availableIt is several new schemas and added properties to a pile of schema
Bump Redfish schemas to 2023.3Redfish released 2023.3 1/25/2024.https://www.dmtf.org/content/redfish-release-20233-now-availableIt is several new schemas and added properties to a pile of schemas.One use case is: ComputerSystem v1.22.0Added EfficiencyFavorPower and EfficiencyFavorPerformance to PowerModehttps://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/69122This is a one line change to scripts/update_schemas.py and then ran thescript.Tested: See the new schema versions (e.g. System 1.22.0). No new Validator errors on p10bmc.Change-Id: I5c10d78e891da71fd14187f63aa6ac682cf15598Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Update schemas to 2023.2To quote from The Redfish release [1]2022.3 Redfish Schema Bundle – This .zip file contains the currentversions of all Redfish schemas. The bundle includes 40 schema upda
Update schemas to 2023.2To quote from The Redfish release [1]2022.3 Redfish Schema Bundle – This .zip file contains the currentversions of all Redfish schemas. The bundle includes 40 schema updatesand developer resources.Added Compute Express Link (CXL) support (NEW)Extensions to Fabric, PCIeDevice, Processor, Memory, ComputerSystem,and Chassis schemas Defined by DMTF alliance partner Compute ExpressLink (CXL) ConsortiumExtensions to Fabric, PCIeDevice, Processor, Memory, ComputerSystem,and Chassis schemas New CXLLogicalDevice schemaAdded MultiFactorAuth to AccountService to configure a service formulti-factor authenticationHTTP Basic authentication is not available for accounts configuredfor multi-factor authenticationFor client certificate authentication, the client provides theiridentity certificate during TLS handshakingFor RSA SecurID, Google Authenticator, and Microsoft Authenticator,clients provide a new Token property in the session creation requestAdded Heater and HeaterMetrics resources[1] https://www.dmtf.org/content/redfish-release-20223-now-availableChange-Id: Iefe80866bfb83e65ab98b2cf4ee2eacce5238c5bSigned-off-by: Ed Tanous <ed@tanous.net>
Update schema packs to 2023.1Redfish just released 2023.1, pull it in and update the packs.This commit was generated automatically using update_schemas.pySigned-off-by: Ed Tanous <edtanous@goog
Update schema packs to 2023.1Redfish just released 2023.1, pull it in and update the packs.This commit was generated automatically using update_schemas.pySigned-off-by: Ed Tanous <edtanous@google.com>Change-Id: I8faad8392af88aa7fc3a4fd73c8e0ec3bede56e5
Update schema pack to 2022.3Update scripts/update_schemas.py to point at 2022.3 and run.Schema pack 2022.3 is the latest Redfish release, released 01/23/2023.It contains several new schemas and
Update schema pack to 2022.3Update scripts/update_schemas.py to point at 2022.3 and run.Schema pack 2022.3 is the latest Redfish release, released 01/23/2023.It contains several new schemas and support for Multi-factorAuthentication and CXL support along other things.Update done by automation.Tested: Redfish service validator passes.Signed-off-by: Ed Tanous <edtanous@google.com>Change-Id: I55a64d7cda26572e7b75135acc324cb44d316fe6
Generate includes for all schemasEven for schemas we ignore, we should still generate the enums for them,just to keep changes like [1] smaller.Tested: Code compiles. No functional binary change
Generate includes for all schemasEven for schemas we ignore, we should still generate the enums for them,just to keep changes like [1] smaller.Tested: Code compiles. No functional binary change.[1] https://gerrit.openbmc.org/c/openbmc/bmcweb/+/55215Signed-off-by: Ed Tanous <edtanous@google.com>Change-Id: I78adf1204a319bc14900152f94161afea21f2e07
Generate Redfish enums from schemasOpenBMC tends to have a significant problem in doing the appropriatelookups from the schema files, and many bugs have been injected by userspicking a bad enum,
Generate Redfish enums from schemasOpenBMC tends to have a significant problem in doing the appropriatelookups from the schema files, and many bugs have been injected by userspicking a bad enum, or mistyping the casing of an enum value.At the same time, nlohmann::json has recently added first class supportfor enums, https://json.nlohmann.me/features/enum_conversion/This commit attempts to build a set of redfish includes file with allthe available Redfish enums in an easy to use enum class. This makes itvery clear which enums are supported by the schemas we produce, and addsvery little to no extra boilerplate on the human-written code weproduced previously.Note, in the generated enum class, because of our use of the clang-tidycheck for macros, the clang-tidy check needs an exception for thesemacros that don't technically follow the coding standard. This seemslike a reasonable compromise, and in this case, given that nlohmanndoesn't support a non-macro version of this.One question that arises is what this does to the binary size.... Underthe current compiler optimizations, and with the current best practices,it leads to an overall increase in binary size of ~1200 bytes for theenum machinery, then approximately 200 bytes for every call site weswitch over. We should decide if this nominal increase is reasonable.Tested: Redfish protocol validator runs with same number of failures aspreviously.Redfish Service Validator passes (one unrelated qemu-specific exception)Signed-off-by: Ed Tanous <edtanous@google.com>Change-Id: I7c7ee4db0823f7c57ecaa59620b280b53a46e2c1