summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/inventory/inventory-cleanup/inventory-cleanup.yaml
blob: 01632e6d872738387cefe37eb9f2bff6f339e35d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
description: >
    Witherspoon inventory fixups

events:
    - name: Remove power_supplies
      description: >
          Remove the deprecated 'power_supply' objects
      type: startup
      actions:
          - name: destroyObjects
            paths:
                - /system/chassis/power_supply0
                - /system/chassis/power_supply1
                - /system/chassis/powersupply0
                - /system/chassis/powersupply1

    - name: Remove fan1
      description: >
          Remove all fan1 associated objects and have fan presence and
          fan monitor create it based on cooling type.
      type: startup
      actions:
          - name: destroyObjects
            paths:
                - /system/chassis/motherboard/fan1/fan1_0
                - /system/chassis/motherboard/fan1/fan1_1
                - /system/chassis/motherboard/fan1
OpenPOWER on IntegriCloud