Addition of Fabric adapter interface
This commit adds an interface to define attributes of a
Fabric adapter.
Current use case:
Pcie cards need to implement this interface to be modeled as
fabric adapter via Redfish schema.
Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
Change-Id: Id6dcd3e539246a37f6a886f724d8d5b3a2737133
diff --git a/gen/xyz/openbmc_project/Inventory/Item/FabricAdapter/meson.build b/gen/xyz/openbmc_project/Inventory/Item/FabricAdapter/meson.build
new file mode 100644
index 0000000..cb445ac
--- /dev/null
+++ b/gen/xyz/openbmc_project/Inventory/Item/FabricAdapter/meson.build
@@ -0,0 +1,14 @@
+# Generated file; do not modify.
+generated_sources += custom_target(
+ 'xyz/openbmc_project/Inventory/Item/FabricAdapter__cpp'.underscorify(),
+ input: [ meson.source_root() / 'xyz/openbmc_project/Inventory/Item/FabricAdapter.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.source_root(),
+ 'xyz/openbmc_project/Inventory/Item/FabricAdapter',
+ ],
+)
+