Control.Power.Throttle: Add throttle Interface
Define a throttle status interface. This allows users to determine if a
component is being throttled and if so, what the causes are for the
throttle.
This is part of the Redfish 2022.3 Schema.
Change-Id: I30e820993e3c225cd82bbd6c78e0a01f9a432282
Signed-off-by: Chris Cain <cjcain@us.ibm.com>
diff --git a/gen/xyz/openbmc_project/Control/Power/Throttle/meson.build b/gen/xyz/openbmc_project/Control/Power/Throttle/meson.build
new file mode 100644
index 0000000..829b3a1
--- /dev/null
+++ b/gen/xyz/openbmc_project/Control/Power/Throttle/meson.build
@@ -0,0 +1,15 @@
+# Generated file; do not modify.
+generated_sources += custom_target(
+ 'xyz/openbmc_project/Control/Power/Throttle__cpp'.underscorify(),
+ input: [ '../../../../../../yaml/xyz/openbmc_project/Control/Power/Throttle.interface.yaml', ],
+ output: [ 'common.hpp', 'server.cpp', 'server.hpp', 'client.hpp', ],
+ depend_files: sdbusplusplus_depfiles,
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'cpp',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.current_source_dir() / '../../../../../../yaml',
+ 'xyz/openbmc_project/Control/Power/Throttle',
+ ],
+)
+
diff --git a/gen/xyz/openbmc_project/Control/Power/meson.build b/gen/xyz/openbmc_project/Control/Power/meson.build
index 24f5647..751b2ee 100644
--- a/gen/xyz/openbmc_project/Control/Power/meson.build
+++ b/gen/xyz/openbmc_project/Control/Power/meson.build
@@ -89,3 +89,18 @@
],
)
+subdir('Throttle')
+generated_others += custom_target(
+ 'xyz/openbmc_project/Control/Power/Throttle__markdown'.underscorify(),
+ input: [ '../../../../../yaml/xyz/openbmc_project/Control/Power/Throttle.interface.yaml', ],
+ output: [ 'Throttle.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/Control/Power/Throttle',
+ ],
+)
+