blob: ca14aeb4bc0207a704fbeca2c267789c2fe84468 [file] [log] [blame]
Ramesh Iyyarae56dbc2021-05-17 06:40:00 -05001description: >
Patrick Williamsa1347412022-12-06 10:56:22 -06002 This interface contains create method, which can be implemented to create an
3 xyz.openbmc_project.HardwareIsolation.Entry object which will use to provide
4 the information of isolated hardware.
Ramesh Iyyarae56dbc2021-05-17 06:40:00 -05005
6methods:
7 - name: Create
8 description: >
Patrick Williamsa1347412022-12-06 10:56:22 -06009 Create an xyz.openbmc_project.HardwareIsolation.Entry object if any of
10 the hardware, needs to be isolated. This interface can be used if want
11 to isolate hardware without an error log, for example, the user
12 voluntarily tried to isolate hardware.
Ramesh Iyyarae56dbc2021-05-17 06:40:00 -050013 parameters:
Patrick Williams8da396c2022-03-14 14:21:02 -050014 - name: IsolateHardware
Patrick Williamsb78a0702022-10-24 12:32:56 -050015 type: object_path
Patrick Williams8da396c2022-03-14 14:21:02 -050016 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.
Ramesh Iyyarae56dbc2021-05-17 06:40:00 -050022 returns:
Patrick Williams8da396c2022-03-14 14:21:02 -050023 - name: Path
Patrick Williamsb78a0702022-10-24 12:32:56 -050024 type: object_path
Patrick Williams8da396c2022-03-14 14:21:02 -050025 description: >
26 The path of created xyz.openbmc_project.HardwareIsolation.Entry
27 object.
Ramesh Iyyarae56dbc2021-05-17 06:40:00 -050028 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
Ramesh Iyyar6ff65612021-06-18 00:38:55 -050034
35 - name: CreateWithErrorLog
36 description: >
Patrick Williamsa1347412022-12-06 10:56:22 -060037 Create an xyz.openbmc_project.HardwareIsolation.Entry object if any of
38 the hardware, needs to be isolated. This interface can be used if the
39 system wants to isolate hardware with an error log that is caused to
40 isolate hardware. This method is not going to create an error log and
41 the consumer of this method need to pass the bmc error log which
42 caused the isolation.
Ramesh Iyyar6ff65612021-06-18 00:38:55 -050043 parameters:
Patrick Williams8da396c2022-03-14 14:21:02 -050044 - name: IsolateHardware
Patrick Williamsb78a0702022-10-24 12:32:56 -050045 type: object_path
Patrick Williams8da396c2022-03-14 14:21:02 -050046 description: >
47 The hardware inventory path which is needs to isolate.
48 - name: Severity
49 type: enum[xyz.openbmc_project.HardwareIsolation.Entry.Type]
50 description: >
51 The severity of hardware isolation.
52 - name: BmcErrorLog
Patrick Williamsb78a0702022-10-24 12:32:56 -050053 type: object_path
Patrick Williams8da396c2022-03-14 14:21:02 -050054 description: >
55 The BMC error log caused the isolation of hardware.
Ramesh Iyyar6ff65612021-06-18 00:38:55 -050056 returns:
Patrick Williams8da396c2022-03-14 14:21:02 -050057 - name: Path
Patrick Williamsb78a0702022-10-24 12:32:56 -050058 type: object_path
Patrick Williams8da396c2022-03-14 14:21:02 -050059 description: >
60 The path of created xyz.openbmc_project.HardwareIsolation.Entry
61 object.
Ramesh Iyyar6ff65612021-06-18 00:38:55 -050062 errors:
63 - xyz.openbmc_project.Common.Error.InvalidArgument
64 - xyz.openbmc_project.Common.Error.TooManyResources
65 - xyz.openbmc_project.HardwareIsolation.Error.IsolatedAlready
66 - xyz.openbmc_project.Common.Error.NotAllowed
67 - xyz.openbmc_project.Common.Error.Unavailable