blob: e8be22f8a1f4167178091bb46a10ab23a698e819 [file] [log] [blame]
Matt Spinlerb1009122018-01-22 11:04:54 -06001description: >
2 Witherspoon inventory fixups
3
4events:
5 - name: Remove power_supplies
6 description: >
7 Remove the deprecated 'power_supply' objects
8 type: startup
9 actions:
10 - name: destroyObjects
11 paths:
12 - /system/chassis/power_supply0
13 - /system/chassis/power_supply1
Matt Spinlercca4ade2018-02-09 15:04:46 -060014 - /system/chassis/powersupply0
15 - /system/chassis/powersupply1
Matthew Barth278f26c2018-05-03 17:06:08 -050016
17 - name: Remove fan1
18 description: >
19 Remove all fan1 associated objects and have fan presence and
20 fan monitor create it based on cooling type.
21 type: startup
Matthew Barth0cab2522018-10-05 16:17:25 -050022 filters:
23 - name: propertyIs
24 service: xyz.openbmc_project.Inventory.Manager
25 path: /system/chassis
26 interface: xyz.openbmc_project.Inventory.Decorator.CoolingType
27 property: WaterCooled
28 value:
29 value: true
30 type: boolean
31 dbusMember: "sdbusplus::xyz::openbmc_project::Inventory::\
32 Decorator::server::CoolingType"
Matthew Barth278f26c2018-05-03 17:06:08 -050033 actions:
34 - name: destroyObjects
35 paths:
36 - /system/chassis/motherboard/fan1/fan1_0
37 - /system/chassis/motherboard/fan1/fan1_1
38 - /system/chassis/motherboard/fan1
Matt Spinler3672fb92019-05-03 13:45:08 -050039
40 - name: Add Chassis interface
41 description: >
42 Add the chassis interface on the chassis inventory path
43 type: startup
44 actions:
45 - name: createObjects
46 objs:
47 /system/chassis:
48 xyz.openbmc_project.Inventory.Item.Chassis:
49 Type:
Patrick Williamsf797c6a2021-07-16 12:29:59 -050050 value: "xyz.openbmc_project.Inventory.Item.Chassis.ChassisType.RackMount"
Matt Spinler3672fb92019-05-03 13:45:08 -050051 type: string