Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Generated file; do not modify.

sdbusplus_current_path = 'xyz/openbmc_project/Inventory/Decorator/ReadyToRemove'

generated_sources += custom_target(
'xyz/openbmc_project/Inventory/Decorator/ReadyToRemove__cpp'.underscorify(),
input: [
'../../../../../../yaml/xyz/openbmc_project/Inventory/Decorator/ReadyToRemove.interface.yaml',
],
output: [
'common.hpp',
'server.hpp',
'server.cpp',
'aserver.hpp',
'client.hpp',
],
depend_files: sdbusplusplus_depfiles,
command: [
sdbuspp_gen_meson_prog,
'--command',
'cpp',
'--output',
meson.current_build_dir(),
'--tool',
sdbusplusplus_prog,
'--directory',
meson.current_source_dir() / '../../../../../../yaml',
'xyz/openbmc_project/Inventory/Decorator/ReadyToRemove',
],
install: should_generate_cpp,
install_dir: [
get_option('includedir') / sdbusplus_current_path,
get_option('includedir') / sdbusplus_current_path,
false,
get_option('includedir') / sdbusplus_current_path,
get_option('includedir') / sdbusplus_current_path,
],
build_by_default: should_generate_cpp,
)

25 changes: 25 additions & 0 deletions gen/xyz/openbmc_project/Inventory/Decorator/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ subdir('LocationCode')
subdir('ManagedHost')
subdir('ManufacturerExt')
subdir('MeetsMinimumShipLevel')
subdir('ReadyToRemove')
subdir('Replaceable')
subdir('Revision')
subdir('Slot')
Expand Down Expand Up @@ -309,6 +310,30 @@ generated_markdown += custom_target(
build_by_default: should_generate_markdown,
)

generated_markdown += custom_target(
'xyz/openbmc_project/Inventory/Decorator/ReadyToRemove__markdown'.underscorify(),
input: [
'../../../../../yaml/xyz/openbmc_project/Inventory/Decorator/ReadyToRemove.interface.yaml',
],
output: ['ReadyToRemove.md'],
depend_files: sdbusplusplus_depfiles,
command: [
sdbuspp_gen_meson_prog,
'--command',
'markdown',
'--output',
meson.current_build_dir(),
'--tool',
sdbusplusplus_prog,
'--directory',
meson.current_source_dir() / '../../../../../yaml',
'xyz/openbmc_project/Inventory/Decorator/ReadyToRemove',
],
install: should_generate_markdown,
install_dir: [inst_markdown_dir / sdbusplus_current_path],
build_by_default: should_generate_markdown,
)

generated_markdown += custom_target(
'xyz/openbmc_project/Inventory/Decorator/Replaceable__markdown'.underscorify(),
input: [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
description: >
Implement to indicate whether the inventory item is prepared by the system
for removal.
properties:
- name: ReadyToRemove
type: boolean
description: >
An indication of whether the item is prepared by the system for
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: Is this readonly? If not, then I'm wondering about this description. If the property is set to false versus set to true by something?

(The description as written seems to be about what a query of this property would indicate.)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be ReadWrite

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noted

removal.