Lines Matching +full:power +full:- +full:supplies
1 # Machine power supply policy for PDM.
3 # Create an error if a power supply is removed while the system is powered on
5 - name: power supply0
9 - meta: POWER SUPPLY
12 - name: power supply1
16 - meta: POWER SUPPLY
19 - name: power supplies
21 'The machine has two power supplies to monitor.'
25 - meta: POWER SUPPLY
27 - meta: POWER SUPPLY
30 - name: chassis state
36 - meta: CHASSISSTATE
39 - name: power supply present
41 'Monitor the presence state of each power supply.'
46 - interface: xyz.openbmc_project.Inventory.Item
50 - name: chassis powered
52 'Monitor the chassis power state.'
57 - interface: xyz.openbmc_project.State.Chassis
61 - name: watch power supply present
63 'Trigger logic on power supply presence state changes.'
66 paths: power supplies
67 properties: power supply present
68 callback: check power
70 - name: watch chassis state
72 'Trigger logic on chassis power state changes.'
77 callback: check power
79 - name: check power
81 'If the chassis has power, check for power supplies.'
86 callback: check power supplies
92 - name: check power supplies
94 'Create an error if a power supply is not present.'
98 - check power supply0 presence
99 - check power supply1 presence
101 - name: check power supply0 presence
103 'If this condition passes power supply0 has been unplugged for more than
104 5 seconds. Count present power supplies rather than non-present
105 power supplies since the latter would pass if the power supply has not
110 of the power supply inventory object implementation.'
113 paths: power supply0
114 properties: power supply present
116 callback: notpresent power supply0 error
122 - name: check power supply1 presence
124 'If this condition passes power supply1 has been unplugged for more than
128 paths: power supply1
129 properties: power supply present
131 callback: notpresent power supply1 error
137 - name: notpresent power supply0 error
140 paths: power supply0
141 properties: power supply present
144 - name: xyz::openbmc_project::Inventory::NotPresent::CALLOUT_INVENTORY_PATH
148 - name: notpresent power supply1 error
151 paths: power supply1
152 properties: power supply present
155 - name: xyz::openbmc_project::Inventory::NotPresent::CALLOUT_INVENTORY_PATH
159 - name: resolve power supply0 errors if present
161 'If power supply0 is present, call the resolve ps0 errors callback.'
164 paths: power supply0
165 properties: power supply present
166 callback: resolve power supply0 errors
172 - name: resolve power supply1 errors if present
174 'If power supply1 is present, call the resolve ps1 errors callback.'
177 paths: power supply1
178 properties: power supply present
179 callback: resolve power supply1 errors
185 - name: resolve power supply0 errors
188 paths: power supply0
189 properties: power supply present
192 - name: resolve power supply1 errors
195 paths: power supply1
196 properties: power supply present
199 - name: watch power supply0 present for resolving error logs
204 paths: power supply0
205 properties: power supply present
206 callback: resolve power supply0 errors if present
208 - name: watch power supply1 present for resolving error logs
213 paths: power supply1
214 properties: power supply present
215 callback: resolve power supply1 errors if present