3cb42ba0 | 21-Jun-2024 |
Gunnar Mills <gmills@us.ibm.com> |
Update symlinks for 2024.1
Wrote a quick bash script to update these symlinks.
These are versioned out in json schema directory[1].
The symlinks don't work without this update.
[1]: https://githu
Update symlinks for 2024.1
Wrote a quick bash script to update these symlinks.
These are versioned out in json schema directory[1].
The symlinks don't work without this update.
[1]: https://github.com/openbmc/bmcweb/tree/master/redfish-core/schema/dmtf/json-schema
Before: cat static/redfish/v1/JsonSchemas/redfish-error/redfish-error.json cat: static/redfish/v1/JsonSchemas/redfish-error/redfish-error.json: No such file or directory
f2a8e57ede74a8252100b2281e3f4d170aa69391 pulled in 2024.1 but did not update these links. Long term update_schemas.py should do this. I figured fix it first, then add update_schemas.py support.
Tested: Cat a few of these links. They appear to work.
Change-Id: Ibe55ab453775476b7a3d5e2fe79b3faaf0d45533 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
1fc21359 | 11-May-2024 |
Ed Tanous <ed@tanous.net> |
Add symlinks to folder
Now that we have the schemas moved, add symlinks back to the schemas that we use, so that they will be installed correctly.
The meson option of follow_symlinks: true is added
Add symlinks to folder
Now that we have the schemas moved, add symlinks back to the schemas that we use, so that they will be installed correctly.
The meson option of follow_symlinks: true is added to suppress a warning about potential change in behavior in meson in the future.
Change-Id: Ie24536ca04038d8137818c201d9411b95361b14f Signed-off-by: Ed Tanous <ed@tanous.net>
show more ...
|
720c9898 | 11-May-2024 |
Ed Tanous <ed@tanous.net> |
Move existing schemas into folders
Reorganize the existing schemas into folders under redfish core.
The existing schema system has some problems: 1. It's hard to add new schemas 2. We have to rerun
Move existing schemas into folders
Reorganize the existing schemas into folders under redfish core.
The existing schema system has some problems: 1. It's hard to add new schemas 2. We have to rerun the script any time we want to change what schemas we use. 3. Adding schemas optionally takes effort
In an effort to combat this, this patchset moves all the existing schemas into folders that represent their namespace names
dmtf/csdl represents the CSDL that dmtf publishes oem/openbmc represents the CSDL that OpenBMC publishes
In theory, this means that in the future we can relax OEM_SCHEMAS.md, and allow folks to possibly implement their own schemas in a way that doesn't have to effect all other systems.
This also has the advantage of not requiring changes to update_schemas.py when we want to add, remove, or modify what version of a schema we use. "current" schemas are just symlinks, so they can be updated using git, and not necessarily have merge conflicts with one another.
Tested: Redfish service validator passes.
Change-Id: I6d4a130bba4cb874ef00a06ed579cc67f53dc7ae Signed-off-by: Ed Tanous <ed@tanous.net>
show more ...
|
2ae81db9 | 31-Jan-2024 |
Gunnar Mills <gmills@us.ibm.com> |
Bump Redfish schemas to 2023.3
Redfish released 2023.3 1/25/2024. https://www.dmtf.org/content/redfish-release-20233-now-available
It is several new schemas and added properties to a pile of schema
Bump Redfish schemas to 2023.3
Redfish released 2023.3 1/25/2024. https://www.dmtf.org/content/redfish-release-20233-now-available
It is several new schemas and added properties to a pile of schemas. One use case is: ComputerSystem v1.22.0 Added EfficiencyFavorPower and EfficiencyFavorPerformance to PowerMode https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/69122
This is a one line change to scripts/update_schemas.py and then ran the script.
Tested: See the new schema versions (e.g. System 1.22.0). No new Validator errors on p10bmc.
Change-Id: I5c10d78e891da71fd14187f63aa6ac682cf15598 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
e9cc1bc9 | 21-Sep-2023 |
Ed Tanous <edtanous@google.com> |
Update schemas to 2023.2
To quote from The Redfish release [1]
2022.3 Redfish Schema Bundle – This .zip file contains the current versions of all Redfish schemas. The bundle includes 40 schema upda
Update schemas to 2023.2
To quote from The Redfish release [1]
2022.3 Redfish Schema Bundle – This .zip file contains the current versions of all Redfish schemas. The bundle includes 40 schema updates and 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 Express Link (CXL) Consortium Extensions to Fabric, PCIeDevice, Processor, Memory, ComputerSystem, and Chassis schemas New CXLLogicalDevice schema Added MultiFactorAuth to AccountService to configure a service for multi-factor authentication HTTP Basic authentication is not available for accounts configured for multi-factor authentication For client certificate authentication, the client provides their identity certificate during TLS handshaking For RSA SecurID, Google Authenticator, and Microsoft Authenticator, clients provide a new Token property in the session creation request Added Heater and HeaterMetrics resources
[1] https://www.dmtf.org/content/redfish-release-20223-now-available
Change-Id: Iefe80866bfb83e65ab98b2cf4ee2eacce5238c5b Signed-off-by: Ed Tanous <ed@tanous.net>
show more ...
|
f263e09c | 22-May-2023 |
Ed Tanous <edtanous@google.com> |
Update schema packs to 2023.1
Redfish just released 2023.1, pull it in and update the packs.
This commit was generated automatically using update_schemas.py
Signed-off-by: Ed Tanous <edtanous@goog
Update schema packs to 2023.1
Redfish just released 2023.1, pull it in and update the packs.
This commit was generated automatically using update_schemas.py
Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I8faad8392af88aa7fc3a4fd73c8e0ec3bede56e5
show more ...
|
ed76121b | 23-Sep-2022 |
Ed Tanous <edtanous@google.com> |
Update Redfish schema pack to 2022.1
Update to an intermediate schema pack. This is not the newest, but is an incremental commit to allow us to differentiate different versions of the schema packs
Update Redfish schema pack to 2022.1
Update to an intermediate schema pack. This is not the newest, but is an incremental commit to allow us to differentiate different versions of the schema packs evolution.
Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I4e5905a3ed40ca41b095c39b4d29c074b6eaeb67
show more ...
|
81d523a7 | 25-May-2022 |
Ed Tanous <edtanous@google.com> |
Move the JsonSchemas to be generated at runtime
Generating all of these index files at compile time is kind of wasteful, considering that it's really not that much code to generate them. This commi
Move the JsonSchemas to be generated at runtime
Generating all of these index files at compile time is kind of wasteful, considering that it's really not that much code to generate them. This commit modifies the update_schemas script to generate a C++ version of the schemas that can then be used to generate a route. This allows deleting a LOT of fixed files, for a very small incremental binary size increase.
This change will cause two impacts that a user could possibly notice.
Expand will now work properly on JsonSchemas tree. Keys on the JsonSchema schemas will now be sorted alphabetically, as we do elsewhere.
All other things should remain the same.
Tested: Redfish service validator passes.
curl --insecure --user root:0penBmc https://192.168.7.2/redfish/v1/JsonSchemas/Triggers Returns the same object as before with changes above.
This adds 2512 bytes to the bmcweb binary size, and interestingly, adds 3764 bytes to the overall rootfs size, despite the level of file deletion seen in the patch. While this is debatably "worse" than what we had before in this regard, making JsonSchemas work similar to how the rest of the Redfish tree operates, is worth the minor increase in code size.
Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: Ic0d568112a3784821aa6867f7bcf50705dc586db
show more ...
|
9d424669 | 22-Sep-2021 |
Gunnar Mills <gmills@us.ibm.com> |
Move to 2021.2
Update the script to point at 2021.2, change the path of the files since they moved yet again, and run the script.
The directory structure moved back to the way they had it pre-2020.
Move to 2021.2
Update the script to point at 2021.2, change the path of the files since they moved yet again, and run the script.
The directory structure moved back to the way they had it pre-2020.1: https://github.com/openbmc/bmcweb/commit/a778c0261282b95e14ea3f4406959638b5edb040
Since we have an exclude list, this only brings in new versions of schemas bmcweb already uses.
Overview of 2021.2: https://www.dmtf.org/sites/default/files/Redfish_Release_2021.2_Overview.pdf
IBM plans to use Control (for PowerCapping) and IdlePowerSaver immediately.
Tested: Validator passed after DMTF/Redfish-Service-Validator/pull/423 merged. CI uses the latest Redfish-Service-Validator so not a problem for CI. For manual users only a small window where an older validator would fail. After the schemapack changes but before PR423.
See the new schemas.
Change-Id: I2fe539087167cf6d962c14bf31fa23861302646f Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
262d7d4b | 20-Jan-2021 |
Gunnar Mills <gmills@us.ibm.com> |
Move to 2020.4
2020.4 contains a lot of new schemas. New feature include: new power and thermal schemas, conditions, and new account types.
For more information, see: https://www.dmtf.org/sites/def
Move to 2020.4
2020.4 contains a lot of new schemas. New feature include: new power and thermal schemas, conditions, and new account types.
For more information, see: https://www.dmtf.org/sites/default/files/Redfish_Release_2020.4_Overview.pdf
Tested: Validator passes. Able to see new schemas. Change-Id: I7fb860c84fa4cff80698dcb26a463b155e6faba7 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
c8ccb774 | 22-Sep-2020 |
Asmitha Karunanithi <asmitk01@in.ibm.com> |
Move to 2020.3
Run the script update_schemas.py by pointing it to 2020.3
An overview of 2020.3 release can be found at: https://www.dmtf.org/sites/default/files/Redfish_Release_2020.3_Overview.pdf
Move to 2020.3
Run the script update_schemas.py by pointing it to 2020.3
An overview of 2020.3 release can be found at: https://www.dmtf.org/sites/default/files/Redfish_Release_2020.3_Overview.pdf
Tested: Loaded on a Witherspoon and Validator passed with the latest schemas
Signed-off-by: Asmitha Karunanithi <asmitk01@in.ibm.com> Change-Id: I6c7a2e0cbdbe599930ba453a1d8c134c22136306
show more ...
|
844b4152 | 22-Jun-2020 |
Gunnar Mills <gmills@us.ibm.com> |
Move to 2020.2
Point update_schemas.py at 2020.2 and run the script.
An overview of 2020.2 can be found at: https://www.dmtf.org/sites/default/files/Redfish_Release_2020.2_Overview.pdf
Tested: Loa
Move to 2020.2
Point update_schemas.py at 2020.2 and run the script.
An overview of 2020.2 can be found at: https://www.dmtf.org/sites/default/files/Redfish_Release_2020.2_Overview.pdf
Tested: Loaded on a Witherspoon and ran the validator. See the new schemas. Change-Id: Idb6cbc58efe484dcffa0cc22deff3a4746af67ed Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
a778c026 | 12-May-2020 |
Gunnar Mills <gmills@us.ibm.com> |
Move to 2020.1
Make changes to update_schemas.py needed for the move and run update_schemas.py.
Need 1.3.6 or later version of Redfish-Service-Validator. CI uses the master branch of Redfish-Servic
Move to 2020.1
Make changes to update_schemas.py needed for the move and run update_schemas.py.
Need 1.3.6 or later version of Redfish-Service-Validator. CI uses the master branch of Redfish-Service-Validator, which has this fix.
Redfish-Service-Validators before 1.3.6 will incorrectly throw errors in message registries like (Task Event Message Registry) /redfish/v1/Registries/TaskEvent/TaskEvent and (Base Message Registry) /redfish/v1/Registries/Base/Base.
For more information: https://redfishforum.com/thread/323/validator-errors-when-moving-release
This does introduce some "warnDeprecated" due to "Severity" becoming Deprecated in MessageRegistry v1_4_0. Since all bmcweb Registries are <v1_4_0, not a real problem. Redfish has no Base Message Registry and Task Event Message Registry available to move to something that uses MessageRegistry v1_4_0. Will take up with Redfish.
2020.1 includes new features like AutoRebot (Boot -> AutomaticRetry), factory reset (ResetToDefaults action), and Modified Event Log property which are in OpenBMC's D-Bus interfaces today.
Tested: Built bmcweb, loaded on a Witherspoon, and ran the validator. Validator passed.
See new schemas: curl -k https://${bmc}/redfish/v1/JsonSchemas/SecureBootDatabase { "@odata.context": "/redfish/v1/$metadata#JsonSchemaFile.JsonSchemaFile", "@odata.id": "/redfish/v1/JsonSchemas/SecureBootDatabase", "@odata.type": "#JsonSchemaFile.v1_0_2.JsonSchemaFile", "Name": "SecureBootDatabase Schema File",
Change-Id: If30fcc50276aea44d8a77ed547ee0cbd72e4cf1a Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
cb103130 | 08-Oct-2019 |
Ed Tanous <ed.tanous@intel.com> |
Update Redfish schemas to 2019.2
Note, the DMTF changed the format of the schema file pack yet again, so the script changes now to compensate for that.
Tested: Ran schema validator. One unrelated
Update Redfish schemas to 2019.2
Note, the DMTF changed the format of the schema file pack yet again, so the script changes now to compensate for that.
Tested: Ran schema validator. One unrelated failure in LogEntry, and 4 new warnings in PCIe devices (we're using a deprecated property). All other endpoints pass.
Signed-off-by: Ed Tanous <ed.tanous@intel.com> Change-Id: I81c030a7c5a6a32cc12a5e7e02a9441b7891bc5d
show more ...
|
63faafa5 | 03-Jan-2019 |
Ed Tanous <ed.tanous@intel.com> |
Fix bad link in Redfish JsonSchemas ID
Change-Id: I993ae392d87a19acd51fe093f8244a9c781dd339 Signed-off-by: Ed Tanous <ed.tanous@intel.com> |
d45d2d0f | 21-Jan-2019 |
Marri Devender Rao <devenrao@in.ibm.com> |
Redfish: Update schema files to 2018.3
Redfish schema 2018.3 was released on January 11th, 2019. While there aren't any plans to utilize any of the new services, it makes sense to keep up to date w
Redfish: Update schema files to 2018.3
Redfish schema 2018.3 was released on January 11th, 2019. While there aren't any plans to utilize any of the new services, it makes sense to keep up to date with the latest static data.
This commit was largely done automatically using the update_schemas.py script.
Change-Id: I74c6fac08d21629ca976ff8694fce011b5247e34 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
show more ...
|
530520ea | 02-Jan-2019 |
Ed Tanous <ed.tanous@intel.com> |
Update schema files to 2018.2
Redfish schema 2018.2 was released on September 20th, 2018. While there aren't any plans to utilize any of the new services, it makes sense to keep up to date with the
Update schema files to 2018.2
Redfish schema 2018.2 was released on September 20th, 2018. While there aren't any plans to utilize any of the new services, it makes sense to keep up to date with the latest static data.
This commit was largely done automatically using the update_schemas.py script.
Change-Id: Ieaa9f1ab2a47244ef201cfe9a064744d7d156745 Signed-off-by: Ed Tanous <ed.tanous@intel.com>
show more ...
|
118b1c71 | 13-Sep-2018 |
Ed Tanous <ed.tanous@intel.com> |
Fix JsonSchema indexes
JsonSchema was throwing errors in the validator, so implement changes to the update script to add the appropiate indexes.
Tested by: Schema validator passes on the JsonSchema
Fix JsonSchema indexes
JsonSchema was throwing errors in the validator, so implement changes to the update script to add the appropiate indexes.
Tested by: Schema validator passes on the JsonSchema Fields
Change-Id: I6cb2737901b55c1089aef744d3ce3c3dfe13f17f Signed-off-by: Ed Tanous <ed.tanous@intel.com>
show more ...
|
683f7276 | 26-Jul-2018 |
Ed Tanous <ed.tanous@intel.com> |
Implement JsonSchema endpoint
This patchset implements JsonSchema support, and automates our update of the XML metadata, and Json schema files in the future by way of a python script.
Change-Id: Ie
Implement JsonSchema endpoint
This patchset implements JsonSchema support, and automates our update of the XML metadata, and Json schema files in the future by way of a python script.
Change-Id: Iec6f580d10736678149db18d87be2f140b535be9 Signed-off-by: Ed Tanous <ed.tanous@intel.com> Signed-off-by: James Feist <james.feist@linux.intel.com>
show more ...
|