ec1137d5 | 07-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
markdownlint: fix all warnings
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I2a77806e59860015339b90957e2226eecd6b5423 |
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 ...
|
b4ed0519 | 02-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
schemas: move README as markdown
This file appears to be intended to be viewed as markdown, so name it as such. The 'schema' portion is redundant considering the path.
Signed-off-by: Patrick Willi
schemas: move README as markdown
This file appears to be intended to be viewed as markdown, so name it as such. The 'schema' portion is redundant considering the path.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I58d6d3c5e7e9fad21ba5c04831fc9ef5d94dba42
show more ...
|
51cff4b4 | 26-May-2022 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
README.schema: add file naming conventions
Avoid arguments in peer review by adding a blurb that indicates the desired file naming conventions for configuration and schema files.
Change-Id: I62ce26
README.schema: add file naming conventions
Avoid arguments in peer review by adding a blurb that indicates the desired file naming conventions for configuration and schema files.
Change-Id: I62ce2694ed6405b12ff2b7a69d246c90f399568a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
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 ...
|
3c543605 | 29-Jul-2021 |
Rashmica Gupta <rashmica.g@gmail.com> |
Add optional hysteresis field to Thresholds
This allows applications to use a hysteresis when clearing threshold alerts. For example, if a critical high temperature sensor threshold value is set to
Add optional hysteresis field to Thresholds
This allows applications to use a hysteresis when clearing threshold alerts. For example, if a critical high temperature sensor threshold value is set to 50 with a hysteresis of 5, then the alarm property in the threshold interface is set when the temperature crosses 50 when increasing, and when the temperature decreases it isn't cleared until it gets to 45.
At this point, this is only needed by the phosphor-virtual-sensor code which is going to get its sensor config from entity manager
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Signed-off-by: Rashmica Gupta <rashmica.g@gmail.com> Change-Id: I3d00746343c8a8c672aa77a702bcf65705d20b4c
show more ...
|
f38b37cd | 07-Sep-2021 |
Oskar Senft <osk@google.com> |
schema: Add EntityId and EntityInstance to JSON schema.
Support for EntityId and EntityInstance has been added to other components (e.g. phosphor-host-ipmid's dbus-sdr) a while ago. This change adds
schema: Add EntityId and EntityInstance to JSON schema.
Support for EntityId and EntityInstance has been added to other components (e.g. phosphor-host-ipmid's dbus-sdr) a while ago. This change adds these keywords to the JSON schema.
Signed-off-by: Oskar Senft <osk@google.com> Change-Id: If24e943814c3190ebcd7cb658af5f6fe00517c26
show more ...
|
e23af564 | 29-Jul-2021 |
Rashmica Gupta <rashmica.g@gmail.com> |
schema: Add virtual sensor schema
This schema allows entity manager to define virtual sensors that are used by the virtual-sensor daemon from the phosphor-virtual-sensor repository.
Currently only
schema: Add virtual sensor schema
This schema allows entity manager to define virtual sensors that are used by the virtual-sensor daemon from the phosphor-virtual-sensor repository.
Currently only a modified median of sensor values is accepted by phosphor-virtual-sensor.
Signed-off-by: Rashmica Gupta <rashmica.g@gmail.com> Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I510dbcd843f703073a96ad33cfe748d0dcd21e64
show more ...
|
e543757b | 29-Jul-2021 |
Rashmica Gupta <rashmica.g@gmail.com> |
schema: add restricted range for severity
There are 5 threshold types: Warning, Critical, PerformanceLoss, SoftShutdown, and HardShutdown. Restrict valid severity numbers to 0 - 4 to correspond with
schema: add restricted range for severity
There are 5 threshold types: Warning, Critical, PerformanceLoss, SoftShutdown, and HardShutdown. Restrict valid severity numbers to 0 - 4 to correspond with these. We could change this to a string enum which would be easier to understand but that would require changing the apps that already use these numbers.
Change-Id: I801f09ddd24cacf8ae22a6a164428d08ccce7c62 Signed-off-by: Rashmica Gupta <rashmica.g@gmail.com>
show more ...
|
96a08d8f | 29-Jul-2021 |
Rashmica Gupta <rashmica.g@gmail.com> |
Units: add enum for valid unit types
Signed-off-by: Rashmica Gupta <rashmica.g@gmail.com> Change-Id: I61d6beda46e046b5e34fc051ec65dacdad324983 |
a29bd135 | 30-Jul-2021 |
Avenash Asai Thambi <avenash.thambi@fii-usa.com> |
legacy.json: Add vout9 to vout17 max and min support
The current legacy.json has support for 8 channels, but MAX34451 needs support for 16 channels and ADM1266 needs support for 17 power supply moni
legacy.json: Add vout9 to vout17 max and min support
The current legacy.json has support for 8 channels, but MAX34451 needs support for 16 channels and ADM1266 needs support for 17 power supply monitoring.
Signed-off-by: Avenash Asai Thambi <avenash.thambi@fii-usa.com> Change-Id: I042d3bcfba85ee038fee56e0f54a464fdfc42c53
show more ...
|
fea4f1a0 | 17-Mar-2021 |
Josh Lehan <krellan@google.com> |
Add Timeout numeric parameter
Following the examples of the others, adding Timeout as an allowed numeric parameter, for use by ExternalSensor in dbus-sensors, although other users are certainly welc
Add Timeout numeric parameter
Following the examples of the others, adding Timeout as an allowed numeric parameter, for use by ExternalSensor in dbus-sensors, although other users are certainly welcome to use it as well.
Signed-off-by: Josh Lehan <krellan@google.com> Change-Id: Ibac74a3ed30ebf970358b3193eb5b39f11f75215
show more ...
|
3e55ec44 | 11-Mar-2021 |
Andrew Geissler <geissonator@yahoo.com> |
configs: add ibm rainier 1s4u
The rainier 1s4u system will be different enough from the standard 4u variant that a new config is required. These differences include a different kernel device tree, d
configs: add ibm rainier 1s4u
The rainier 1s4u system will be different enough from the standard 4u variant that a new config is required. These differences include a different kernel device tree, different power supplies, and a different fan configuration.
Tested: - Verified that when IM keyword was programmed to match the 1s4u that correct config was loaded by entity manager /xyz/openbmc_project/inventory/system/chassis `-/xyz/openbmc_project/inventory/system/chassis/Rainier_1S4U_Chassis `-/xyz/openbmc_project/inventory/system/chassis/Rainier_1S4U_Chassis/Compatible_System
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ieca50c03154d268726ed9ec541939e73658d427d
show more ...
|
0836ce05 | 21-Jan-2021 |
Josh Lehan <krellan@google.com> |
Add parameters for external sensor
Adding Units, string type, to support ExternalSensor.
Adding MinReading. MaxReading was already included, but not MinReading, so added it similarly.
Adding MinVa
Add parameters for external sensor
Adding Units, string type, to support ExternalSensor.
Adding MinReading. MaxReading was already included, but not MinReading, so added it similarly.
Adding MinValue and MaxValue, similar to MinReading and MaxReading. Unfortunately, these are used somewhat interchangeably in dbus-sensors, and a separate change should later be used to standardize on one, going forward, but this would break existing configurations in the field that were using the other.
Signed-off-by: Josh Lehan <krellan@google.com> Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: Ia06ab6a3bf1c507e0a13826c212d90ba09b3edf7
show more ...
|
f094125c | 22-Jan-2021 |
Scron Chang <Scron.Chang@quantatw.com> |
Schema: Add attributes "PollRate" and "_Scale".
Add two objects: "PollRate" and "iout1_Scale" to schema/legacy.json. "PollRate" has been implemented in here: https://gerrit.openbmc-project.xyz/c/ope
Schema: Add attributes "PollRate" and "_Scale".
Add two objects: "PollRate" and "iout1_Scale" to schema/legacy.json. "PollRate" has been implemented in here: https://gerrit.openbmc-project.xyz/c/openbmc/dbus-sensors/+/38796
test: Add these two attributes to my configuration file and file can pass to validate-configs.py.
Signed-off-by: Scron Chang <Scron.Chang@quantatw.com> Change-Id: Ia8c8047566b57d799af66934cca835a6b199e186
show more ...
|
73347454 | 30-Dec-2020 |
Scron Chang <Scron.Chang@quantatw.com> |
Schema: Add properties for PSUSensor.
Add objects to legacy.json for setting Max/Min/Scale value in the configuration file, e.g., vout1_Max, iout1_Scale, and pin_Max.
Additionally, I also add _offs
Schema: Add properties for PSUSensor.
Add objects to legacy.json for setting Max/Min/Scale value in the configuration file, e.g., vout1_Max, iout1_Scale, and pin_Max.
Additionally, I also add _offset to legacy.json since Jeff submits the patch in PSUSensor. Ref: https://gerrit.openbmc-project.xyz/c/openbmc/dbus-sensors/+/38796
Tested: Add some customized PSU properties, e.g., vout1_max, to the configuration file and file can pass to validate-configs.py.
Signed-off-by: Scron Chang <Scron.Chang@quantatw.com> Change-Id: I086ca69db3d20b0bd2bb4f898e024de8918d2af9
show more ...
|
c7c5de79 | 16-Dec-2020 |
Andrew Geissler <geissonator@yahoo.com> |
configs: add everest chassis
Add a configuration for the Everest system enclosure.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I440fb6176fa302e7c082db8547862fd4eceed034 |
a5a716da | 26-Nov-2020 |
Anoop S <anoopx.s@intel.com> |
Entity-manager:Add new property for Ipmb type.
Added new property[HostSMbusIndex] for Ipmb sensor type in json file.
Tested : 1.Dediprog and redfish flash the different platforms, with[Host
Entity-manager:Add new property for Ipmb type.
Added new property[HostSMbusIndex] for Ipmb sensor type in json file.
Tested : 1.Dediprog and redfish flash the different platforms, with[HostSMbusIndex read from json file]for this configuration change. - System up and running. - VR Temp sensor and other sensor readings shows correctly in 'ipmitool sensor list' output.
Signed-off-by: Anoop S <anoopx.s@intel.com> Change-Id: I977031e483443254ec701365f3df23f8455c37dd
show more ...
|
def29274 | 14-Oct-2020 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
schema: ibm: systems: fix description
Replace 'devices' with 'systems' in the description of the IBMCompatibleSystem schema. Devices was left over from an earlier WIP iteration of the schema with m
schema: ibm: systems: fix description
Replace 'devices' with 'systems' in the description of the IBMCompatibleSystem schema. Devices was left over from an earlier WIP iteration of the schema with more generalized scope.
Change-Id: I904800c39eaa1f309124cfd3b3ef4e7cd0b11576 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
5f4a0265 | 09-Oct-2020 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
configs: add rainier chassis
Add configurations for the Rainier system enclosures.
Change-Id: If2538a9e519513860f0f3f0db2c554533b74dc6a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
648ae63b | 09-Oct-2020 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
schema: ibm: add compatible system schema
Add an IBMCompatibleSystem schema for expressing system level compatibility where a system is roughly defined as the combination of a chassis and a mainboar
schema: ibm: add compatible system schema
Add an IBMCompatibleSystem schema for expressing system level compatibility where a system is roughly defined as the combination of a chassis and a mainboard.
The strings should be used by applications to match entities with entries or configuration in an external hardware database. Strings appear in the list from most specific to most general. This allows an entity to express compatibility with a family of similar systems, in turn allowing an application to match a variety of systems with a single IBMCompatibleSystem entry.
The recommended entry format is 'manufacturer,model' where the manufacturer is a string describing the name of the manufacturer and model specifies the model number.
Change-Id: Ib53234cf1064a1f68334f606361cac8a09ff55ab Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
4afe7085 | 01-Oct-2020 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
schemas: Add schema for IBMCFFPS
IBMCFFPS, or International Business Machines Common Form Factor Power Supply is an IBM power supply used on a wide range of IBM systems.
The schema associates an I2
schemas: Add schema for IBMCFFPS
IBMCFFPS, or International Business Machines Common Form Factor Power Supply is an IBM power supply used on a wide range of IBM systems.
The schema associates an I2C endpoint and a GPIO. In the entity-manager detector-configuration-reactor architecture, the daemon supporting the IBM CFFPS is both a detector and reactor. It probes the endpoints described by this schema (reactor) and publish the CFFPS FRU information (detector).
Change-Id: I9beaf1ca08701805998c5516d17e47ee88b53028 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
dc10828f | 24-Sep-2020 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
schemas: Intel Fan Connector
Add a proper subschema for IntelFanConnector. Remove status from legacy json because IntelFanConnector was the only user. Pwm and Tachs have other users so we can't re
schemas: Intel Fan Connector
Add a proper subschema for IntelFanConnector. Remove status from legacy json because IntelFanConnector was the only user. Pwm and Tachs have other users so we can't remove those until those classes have proper subschema.
Change-Id: Ic4f330fbcfe6ff711ff9aef3fd65d138b145303a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
4fa1d399 | 07-May-2020 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
schema: use pid, zone, stepwise schemas
These schemas were defined, but not referenced anywhere. Use them, and remove the duplicated properties from the legacy aggregate schema.
Change-Id: I75ba80
schema: use pid, zone, stepwise schemas
These schemas were defined, but not referenced anywhere. Use them, and remove the duplicated properties from the legacy aggregate schema.
Change-Id: I75ba8099059127cfa5c2d6492908333ca5c3bf67 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
ada40c59 | 07-May-2020 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
schema: introduce element
Introduce a new sub schema "EMExposesElement" that enables stricter validation of Exposes entry elements. The existing aggregate subschema checks element properties but ca
schema: introduce element
Introduce a new sub schema "EMExposesElement" that enables stricter validation of Exposes entry elements. The existing aggregate subschema checks element properties but cannot check that specific combinations of properties are allowed in the same element. Require that each element have at a minimum a Type and Name property.
Add documentation that describes an overview and best practices when adding new schema.
Change-Id: If0a11ac9acde8e574070cccd9bf8d017b6c8e3b1 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|