#
7d6080db |
| 04-Sep-2024 |
Patrick Williams <patrick@stwcx.xyz> |
json: adjust definitions alias
JSON Schema suggests[1] using "$defs" rather than "definitions" as the location for reusable definitions in a schema. While, this isn't strictly required, there is so
json: adjust definitions alias
JSON Schema suggests[1] using "$defs" rather than "definitions" as the location for reusable definitions in a schema. While, this isn't strictly required, there is some implication that using it lends to better schema validation error reporting[2].
Adjust all the schema files to use "$defs" rather than "definitions".
[1]: https://json-schema.org/understanding-json-schema/structuring#defs [2]: https://github.com/orgs/json-schema-org/discussions/151
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I4b23890950bd2ebb7a7de99fd911fb3c9e0a4dbd
show more ...
|
#
513976be |
| 13-May-2024 |
Matt Spinler <spinler@us.ibm.com> |
configurations: Add IBM's BlueRidge chassis
These chassis are similar enough to the Rainier ones that the Rainier compatible names can be at the bottom of the compatible list. This way code that ne
configurations: Add IBM's BlueRidge chassis
These chassis are similar enough to the Rainier ones that the Rainier compatible names can be at the bottom of the compatible list. This way code that needs the name but doesn't need to tell the difference between a Rainier and a BlueRidge doesn't have to change anything.
The IBMCompatibleSystem interface is being deprecated in favor of the Decorator.Compatible one, but not all of the code has been changed over yet so just use both for now.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I453185874e43b1b5d9a215e195c74e6a439cf0d5
show more ...
|
#
6ef5f71c |
| 13-May-2024 |
Matt Spinler <spinler@us.ibm.com> |
configurations: Add IBM's Fuji chassis
This chassis is similar enough to the Everest one that the Everest compatible names can be at the bottom of the compatible list. This way code that needs the
configurations: Add IBM's Fuji chassis
This chassis is similar enough to the Everest one that the Everest compatible names can be at the bottom of the compatible list. This way code that needs the name but doesn't need to tell the difference between an Everest and a Fuji doesn't have to change anything.
The IBMCompatibleSystem interface is being deprecated in favor of the Decorator.Compatible one, but not all of the code has been changed over yet so just use both for now.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I6236565d9c30a3bd57176882417e8e281bb5899e
show more ...
|
#
bb8aa370 |
| 19-Mar-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
schemas: Descriptions must be strings
``` $ python3 -c 'import json; import jsonschema; schema = json.load(open("schemas/global.json")); cls = jsonschema.validators.validator_for(schema); cls.check_
schemas: Descriptions must be strings
``` $ python3 -c 'import json; import jsonschema; schema = json.load(open("schemas/global.json")); cls = jsonschema.validators.validator_for(schema); cls.check_schema(schema)' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 204, in check_schema raise exceptions.SchemaError.create_from(error) jsonschema.exceptions.SchemaError: ['The schema for an entity manager configuration file. An entity ', 'mananger configuration file can consist of a single object, or an ', 'array of objects. Objects must be of type EMConfig.'] is not of type 'string'
Failed validating 'type' in metaschema['properties']['description']: {'type': 'string'}
On schema['description']: ['The schema for an entity manager configuration file. An entity ', 'mananger configuration file can consist of a single object, or an ', 'array of objects. Objects must be of type EMConfig.'] ```
Change-Id: I2b8102e7d6047c8a7e624e182465065268fb8ad9 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
#
04b0b013 |
| 14-Dec-2021 |
Chris Cain <cjcain@us.ibm.com> |
schema: ibm: add default power mode props. schema
Add PowerModeProperties schema to define the factory default power mode properties of a system: - Power Mode - Idle Power Saver Parameters
All of t
schema: ibm: add default power mode props. schema
Add PowerModeProperties schema to define the factory default power mode properties of a system: - Power Mode - Idle Power Saver Parameters
All of these parameters are part of the version 2021.2 Redfish Schema Supplement under the ComputerSystem 1.16.0 schema: For details on the values and descriptions, see the PowerMode and IdlePowerSaver schemas in the Redfish documentation: https://www.dmtf.org/sites/default/files/standards/documents/DSP0268_2021.2.pdf
These are the factory default values as defined by the system architect. All of these parameters are system-wide parameters and are used to define the operation of that system as it relates to power.
These are the values will be used the first time a system is powered on. They can also be used if the customer wants to restore these settings to their factory defaults.
Signed-off-by: Chris Cain <cjcain@us.ibm.com> Change-Id: Ie2f3ca74db0c898c6a4f3beed29eda674dfcf5c6
show more ...
|
#
0b5b122f |
| 31-Jan-2023 |
Adriana Kobylak <anoo@us.ibm.com> |
configurations: Add Bonnell and Pennybacker
Add IBM's Bonnell chassis and its backplane Pennybacker. The IM value for Bonnell is 50004000 as defined by the vpd repo: ``` https://github.com/openbmc/o
configurations: Add Bonnell and Pennybacker
Add IBM's Bonnell chassis and its backplane Pennybacker. The IM value for Bonnell is 50004000 as defined by the vpd repo: ``` https://github.com/openbmc/openpower-vpd-parser/blob/master/const.hpp ``` The CC value for Pennybacker is 2E44. The sensor values for the power supplies are defined in the kernel device tree: ``` https://github.com/openbmc/linux/blob/dev-6.0/arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts ```
Tested: Verified that the new json files were added to the rootfs image and that CI passed.
Change-Id: I32c8de73eb4c934da864672677a2a6dae653d241 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
#
fa8ee87e |
| 07-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
format: reformat with latest openbmc-build-scripts
Run all the latest formatters from openbmc-build-scripts. Disable prettier on the configurations subdirectory because these are script-formatted a
format: reformat with latest openbmc-build-scripts
Run all the latest formatters from openbmc-build-scripts. Disable prettier on the configurations subdirectory because these are script-formatted already with the repo-local `format-code` extension.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ifa4f2ec6688d60fde2a5f42efc96b6046e9be642
show more ...
|
#
7d05ee59 |
| 26-May-2022 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
schemas: use lower_snake_case for filenames
To be consistent with lower_snake_case source code filenames, use lower_snake_case for schema file names as well.
Signed-off-by: Brad Bishop <bradleyb@fu
schemas: use lower_snake_case for filenames
To be consistent with lower_snake_case source code filenames, use lower_snake_case for schema file names as well.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: Id5ddeb4152a147229d522ddc0a1376875bfdfc78
show more ...
|