Add the cable interface
The cable interface is used to represent a cable instance in ipmi
inventory
Design Doc:
https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/45395
Signed-off-by: Chu Lin <linchuyuan@google.com>
Fixed minor whitespace issue and added meson.build.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: Ia917288efd343dd77cdb57ee0c863ec4dfac096e
diff --git a/gen/xyz/openbmc_project/Inventory/Item/meson.build b/gen/xyz/openbmc_project/Inventory/Item/meson.build
index 77d9be8..0e05594 100644
--- a/gen/xyz/openbmc_project/Inventory/Item/meson.build
+++ b/gen/xyz/openbmc_project/Inventory/Item/meson.build
@@ -68,6 +68,20 @@
],
)
+subdir('Cable')
+generated_others += custom_target(
+ 'xyz/openbmc_project/Inventory/Item/Cable__markdown'.underscorify(),
+ input: [ '../../../../../yaml/xyz/openbmc_project/Inventory/Item/Cable.interface.yaml', ],
+ output: [ 'Cable.md' ],
+ 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/Item/Cable',
+ ],
+)
+
subdir('Chassis')
generated_others += custom_target(
'xyz/openbmc_project/Inventory/Item/Chassis__markdown'.underscorify(),