blob: 9a2b23ed96278f8016d901632afea05ff2124d47 [file] [log] [blame]
Ramesh Iyyarae56dbc2021-05-17 06:40:00 -05001description: >
2 This interface contains create method, which can be implemented to
3 create an xyz.openbmc_project.HardwareIsolation.Entry object
4 which will use to provide the information of isolated hardware.
5
6methods:
7 - name: Create
8 description: >
9 Create an xyz.openbmc_project.HardwareIsolation.Entry object
10 if any of the hardware, needs to be isolated. This interface
11 can be used if want to isolate hardware without an error log,
12 for example, the user voluntarily tried to isolate hardware.
13 parameters:
14 - name: IsolateHardware
15 type: path
16 description: >
17 The hardware inventory path which is needs to isolate.
18 - name: Severity
19 type: enum[xyz.openbmc_project.HardwareIsolation.Entry.Type]
20 description: >
21 The severity of hardware isolation.
22 returns:
23 - name: Path
24 type: path
25 description: >
26 The path of created xyz.openbmc_project.HardwareIsolation.Entry
27 object.
28 errors:
29 - xyz.openbmc_project.Common.Error.InvalidArgument
30 - xyz.openbmc_project.Common.Error.TooManyResources
31 - xyz.openbmc_project.HardwareIsolation.Error.IsolatedAlready
32 - xyz.openbmc_project.Common.Error.NotAllowed
33 - xyz.openbmc_project.Common.Error.Unavailable