1#Example set speed events for phosphor-fan-control 2 3#groups: 4# - name: [A unique name for this group] 5# description: [A user description of what makes up the group] 6# type: [The '/xyz/openbmc_project' path extension] 7# members: 8# [List of object paths under the path extension] 9# 10#actions: 11# - name: [The name associated with a supported action function] 12# description: [A user description of what this action does] 13# parameters: 14# [Ordered list of required parameters for the associated function] 15# 16#events: 17# - name: [A unique name for this event] 18# zone_conditions: 19# - name: [The name of the zone condition] 20# zones: 21# - [Zone number to include this set speed event with] 22# group: [A group name from the list of groups] 23# interface: [The Dbus interface on the group members' object path] 24# property: [The property name and type on the interface to be used] 25# action: 26# name: [Name of an action from the list of actions] 27# [List each required action parameter with a defined type and value 28# for this event. The 'property' parameter utilizes the same type 29# defined under the 'property' attribute.] 30 31#Example: 32#groups: 33# - name: zone0_fans 34# description: Group of fan inventory objects for zone 0 35# type: inventory 36# members: 37# - /system/chassis/motherboard/fan0 38# - /system/chassis/motherboard/fan1 39# - /system/chassis/motherboard/fan2 40# - /system/chassis/motherboard/fan3 41# 42#actions: 43# - name: count_state_before_speed 44# description: Set the speed when a number of properties at a state 45# parameters: 46# - count 47# - property 48# - speed 49# 50#events: 51# - name: missing_before_high_speed 52# zone_conditions: 53# - name: air_cooled_chassis 54# zones: 55# - 0 56# group: zone0_fans 57# interface: xyz.openbmc_project.Inventory.Item 58# property: 59# name: Present 60# type: bool 61# action: 62# name: count_state_before_speed 63# count: 1 64# property: false 65# speed: 66# value: 10500 67# type: uint64_t 68