Control: Add Failover interface

Create an interface to start a failover, where a failover is the
mechanism where one entity takes over the operation of another.

The first use will be to failover to another BMC, using the design at
https://gerrit.openbmc.org/c/openbmc/docs/+/70233, though the intent is
the interface can also be used for other sorts of failovers.

Change-Id: I32789f6b8f01d1baed95d387e6815a797d5b45b8
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/gen/xyz/openbmc_project/Control/meson.build b/gen/xyz/openbmc_project/Control/meson.build
index d56d590..caf1d65 100644
--- a/gen/xyz/openbmc_project/Control/meson.build
+++ b/gen/xyz/openbmc_project/Control/meson.build
@@ -3,6 +3,7 @@
 subdir('CFMLimit')
 subdir('ChassisCapabilities')
 subdir('Device')
+subdir('Failover')
 subdir('FanPwm')
 subdir('FanRedundancy')
 subdir('FanSpeed')
@@ -95,6 +96,30 @@
 )
 
 generated_markdown += custom_target(
+    'xyz/openbmc_project/Control/Failover__markdown'.underscorify(),
+    input: [
+        '../../../../yaml/xyz/openbmc_project/Control/Failover.interface.yaml',
+    ],
+    output: ['Failover.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/Failover',
+    ],
+    install: should_generate_markdown,
+    install_dir: [inst_markdown_dir / sdbusplus_current_path],
+    build_by_default: should_generate_markdown,
+)
+
+generated_markdown += custom_target(
     'xyz/openbmc_project/Control/FanPwm__markdown'.underscorify(),
     input: [
         '../../../../yaml/xyz/openbmc_project/Control/FanPwm.interface.yaml',