Add a new interface for ThermalDirection
This (xyz.openbmc_project.Inventory.Decorator.ThermalDirection)
interface will provide the general direction of the thermal
management path through the chassis. It will indicate the
airflow direction of the chassis.
This patch is referred based on the below bmcweb patch.
https://gerrit.openbmc.org/c/openbmc/bmcweb/+/61603
Tested: Tested and verified the interface with client and
server file creation.
Change-Id: I4620def4cf9e2401a531495caa8e25e589fe576d
Signed-off-by: Jayashree Dhanapal <jayashree-d@hcl.com>
diff --git a/gen/xyz/openbmc_project/Inventory/Decorator/meson.build b/gen/xyz/openbmc_project/Inventory/Decorator/meson.build
index 9dcc20c..7a1f970 100644
--- a/gen/xyz/openbmc_project/Inventory/Decorator/meson.build
+++ b/gen/xyz/openbmc_project/Inventory/Decorator/meson.build
@@ -209,6 +209,21 @@
],
)
+subdir('ThermalDirection')
+generated_others += custom_target(
+ 'xyz/openbmc_project/Inventory/Decorator/ThermalDirection__markdown'.underscorify(),
+ input: [ '../../../../../yaml/xyz/openbmc_project/Inventory/Decorator/ThermalDirection.interface.yaml', ],
+ output: [ 'ThermalDirection.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/ThermalDirection',
+ ],
+)
+
subdir('UniqueIdentifier')
generated_others += custom_target(
'xyz/openbmc_project/Inventory/Decorator/UniqueIdentifier__markdown'.underscorify(),