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/Cable/meson.build b/gen/xyz/openbmc_project/Inventory/Item/Cable/meson.build
new file mode 100644
index 0000000..3b83494
--- /dev/null
+++ b/gen/xyz/openbmc_project/Inventory/Item/Cable/meson.build
@@ -0,0 +1,14 @@
+# Generated file; do not modify.
+generated_sources += custom_target(
+    'xyz/openbmc_project/Inventory/Item/Cable__cpp'.underscorify(),
+    input: [ '../../../../../../yaml/xyz/openbmc_project/Inventory/Item/Cable.interface.yaml',  ],
+    output: [ 'server.cpp', 'server.hpp', 'client.hpp',  ],
+    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/Item/Cable',
+    ],
+)
+
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(),
diff --git a/yaml/xyz/openbmc_project/Inventory/Item/Cable.interface.yaml b/yaml/xyz/openbmc_project/Inventory/Item/Cable.interface.yaml
new file mode 100644
index 0000000..486e56b
--- /dev/null
+++ b/yaml/xyz/openbmc_project/Inventory/Item/Cable.interface.yaml
@@ -0,0 +1,3 @@
+description: >
+    xyz.openbmc_project.Inventory.Item.Cable should be implemented on objects
+    that represent a cable instance or a system cable instance.