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/meson.build b/gen/xyz/openbmc_project/Inventory/Item/meson.build
index b243fb1..95c73a8 100644
--- a/gen/xyz/openbmc_project/Inventory/Item/meson.build
+++ b/gen/xyz/openbmc_project/Inventory/Item/meson.build
@@ -177,6 +177,21 @@
build_by_default: true,
)
+subdir('FabricAdapter')
+generated_others += custom_target(
+ 'xyz/openbmc_project/Inventory/Item/FabricAdapter__markdown'.underscorify(),
+ input: [ meson.source_root() / 'xyz/openbmc_project/Inventory/Item/FabricAdapter.interface.yaml', ],
+ output: [ 'FabricAdapter.md' ],
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'markdown',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.source_root(),
+ 'xyz/openbmc_project/Inventory/Item/FabricAdapter',
+ ],
+ build_by_default: true,
+)
+
subdir('Fan')
generated_others += custom_target(
'xyz/openbmc_project/Inventory/Item/Fan__markdown'.underscorify(),