Skip to content

Commit f55273c

Browse files
open_power: add OCC errors from openpower-occ-control (#89)
Change-Id: I91f1a459fecc623168f65a3b17ff50974344eec7 Signed-off-by: Patrick Williams <[email protected]> Co-authored-by: Patrick Williams <[email protected]>
1 parent 2415dae commit f55273c

File tree

4 files changed

+60
-0
lines changed

4 files changed

+60
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Generated file; do not modify.
2+
generated_sources += custom_target(
3+
'org/open_power/OCC/Device__cpp'.underscorify(),
4+
input: [ '../../../../../yaml/org/open_power/OCC/Device.errors.yaml', ],
5+
output: [ 'error.cpp', 'error.hpp', ],
6+
depend_files: sdbusplusplus_depfiles,
7+
command: [
8+
sdbuspp_gen_meson_prog, '--command', 'cpp',
9+
'--output', meson.current_build_dir(),
10+
'--tool', sdbusplusplus_prog,
11+
'--directory', meson.current_source_dir() / '../../../../../yaml',
12+
'org/open_power/OCC/Device',
13+
],
14+
)
15+

gen/org/open_power/OCC/meson.build

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
11
# Generated file; do not modify.
2+
subdir('Device')
3+
generated_others += custom_target(
4+
'org/open_power/OCC/Device__markdown'.underscorify(),
5+
input: [ '../../../../yaml/org/open_power/OCC/Device.errors.yaml', ],
6+
output: [ 'Device.md' ],
7+
depend_files: sdbusplusplus_depfiles,
8+
command: [
9+
sdbuspp_gen_meson_prog, '--command', 'markdown',
10+
'--output', meson.current_build_dir(),
11+
'--tool', sdbusplusplus_prog,
12+
'--directory', meson.current_source_dir() / '../../../../yaml',
13+
'org/open_power/OCC/Device',
14+
],
15+
)
16+
217
subdir('PassThrough')
318
generated_others += custom_target(
419
'org/open_power/OCC/PassThrough__markdown'.underscorify(),
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# org.open_power.OCC.Device.OpenFailure
2+
- name: OpenFailure
3+
description: Opening OCC device failed.
4+
5+
# org.open_power.OCC.Device.ReadFailure
6+
- name: ReadFailure
7+
description: Reading from OCC failed.
8+
9+
# org.open_power.OCC.Device.WriteFailure
10+
- name: WriteFailure
11+
description: Writing to OCC failed.
12+
13+
# org.open_power.OCC.Device.ConfigFailure
14+
- name: ConfigFailure
15+
description: Configuring device failed.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
- name: OpenFailure
2+
inherits:
3+
- xyz.openbmc_project.Common.Callout.Device
4+
5+
- name: ReadFailure
6+
inherits:
7+
- xyz.openbmc_project.Common.Callout.Device
8+
9+
- name: WriteFailure
10+
inherits:
11+
- xyz.openbmc_project.Common.Callout.Device
12+
13+
- name: ConfigFailure
14+
inherits:
15+
- xyz.openbmc_project.Common.Callout.Device

0 commit comments

Comments
 (0)