1description: > 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 14 - /system/chassis/powersupply0 15 - /system/chassis/powersupply1 16 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 22 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" 33 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 39 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: 50 value: "RackMount" 51 type: string 52