#
799cdf74 |
| 08-Oct-2019 |
Matthew Barth <msbarth@us.ibm.com> |
Conditionally add/remove events action
A new action to add or remove events based on the state of all members of a group. When all members of a group match the state given, the events will be enable
Conditionally add/remove events action
A new action to add or remove events based on the state of all members of a group. When all members of a group match the state given, the events will be enabled. At any time a member's property state no longer matches, all the events will be removed.
For example, to enable an event that changes the fan floor table using different values based on the selected state of the current thermal mode.
- name: set_speed_boundaries_based_on_ambient groups: - name: zone0_control_mode interface: xyz.openbmc_project.Control.ThermalMode property: name: Current type: std::string triggers: - name: init method: getProperties handler: setProperty - name: signal signal: propertiesChanged handler: setProperty actions: - name: use_events_on_state property: value: DEFAULT type: std::string events: - name: default_fan_speed_boundaries groups: - name: zone0_ambient interface: xyz.openbmc_project.Sensor.Value property: name: Value type: int64_t triggers: - name: init method: getProperties handler: setProperty - name: signal signal: propertiesChanged handler: setProperty actions: - name: set_floor_from_average_sensor_value map: value: - 27000: 3500 - 32000: 4600 - 37000: 5200 - 40000: 5800 type: std::map<int64_t, uint64_t> - name: use_events_on_state property: value: CUSTOM type: std::string events: - name: custom_fan_speed_boundaries groups: - name: zone0_ambient interface: xyz.openbmc_project.Sensor.Value property: name: Value type: int64_t triggers: - name: init method: getProperties handler: setProperty - name: signal signal: propertiesChanged handler: setProperty actions: - name: set_floor_from_average_sensor_value map: value: - 27000: 4600 - 32000: 5000 - 37000: 5400 - 40000: 5800 type: std::map<int64_t, uint64_t>
Tested: Different fan floor events loaded based on thermal mode state
Change-Id: I85a4718e928996d2063e51eb31bfbb45e0e40c0b Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
#
8d06a838 |
| 02-Oct-2019 |
Matthew Barth <msbarth@us.ibm.com> |
Update default floor action
Add action to be able to update the default fan floor thru a configured event.
Tested: Default floor is updated based on state of group property value
Change-Id: I8
Update default floor action
Add action to be able to update the default fan floor thru a configured event.
Tested: Default floor is updated based on state of group property value
Change-Id: I83a4ae313636abbe1e5c8b6ddfc2d5f9d281f844 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
#
efbe7abd |
| 09-Jul-2019 |
Matthew Barth <msbarth@us.ibm.com> |
doc only: Update events example yaml
Update the events example yaml to correctly reflect the redesign that was done under openbmc/openbmc#2911 for enhancing performance and flexibility of the config
doc only: Update events example yaml
Update the events example yaml to correctly reflect the redesign that was done under openbmc/openbmc#2911 for enhancing performance and flexibility of the configuration for fan control.
Change-Id: Ie5270afb601c7b63f1b8c12e7f63372451723817 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
#
67967f9a |
| 22-Sep-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Generate selected match strings and signals
The available matches and their associated signals are now listed within the events yaml and can be added to the list of matches to register for per event
Generate selected match strings and signals
The available matches and their associated signals are now listed within the events yaml and can be added to the list of matches to register for per event.
Change-Id: I65f657038afe7c68a421adb4820ea09e275be06d Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
#
e3bab01d |
| 28-Sep-2017 |
Matthew Barth <msbarth@us.ibm.com> |
DOC ONLY: Add preconditions section description
Change-Id: I260319dbfc4cb87bfed8fd724ffc4978f34e7325 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
#
dd5cad66 |
| 14-Sep-2017 |
Matthew Barth <msbarth@us.ibm.com> |
DOC ONLY: Example events yaml format update
Made updates to the example events.yaml to reflect the new format and use.
Change-Id: I13b323487565f0c1c29eb97d9ddcf8da3295b21c Signed-off-by: Matthew Ba
DOC ONLY: Example events yaml format update
Made updates to the example events.yaml to reflect the new format and use.
Change-Id: I13b323487565f0c1c29eb97d9ddcf8da3295b21c Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
#
9af190cd |
| 08-Aug-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Update parser to support optional preconditions
Set speed events are now allowed to have preconditions defined within the event where those preconditions must be met before the set speed event is en
Update parser to support optional preconditions
Set speed events are now allowed to have preconditions defined within the event where those preconditions must be met before the set speed event is enabled and active. The supported precondition added is against a list of groups and their properties matching a given value.
The parser generates a precondition with the same layout as a set speed event where the event is nested as the last parameter to the precondition function. Having the set speed event as the last input parameter to precondition functions is required.
Resolves openbmc/openbmc#1835
Change-Id: I7a247e7eb2d6b31ba9a60da1bc321a35edda9b24 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
#
be605c5f |
| 29-Jun-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Fan control: Example yaml updates(doc only)
Change-Id: I30fdecd3af3dcdc7f954bdb9d535c6bc92edd67a Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
#
94b20f7a |
| 11-May-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Example set speed event yaml
An example yaml file to define set speed events based on groups of dbus object properties and a set of actions that can be performed based on those property values
Chan
Example set speed event yaml
An example yaml file to define set speed events based on groups of dbus object properties and a set of actions that can be performed based on those property values
Change-Id: I2f713920f9ce25859855cfec783df0adb505f31d Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|