blob: 99dc5fb6eacc9956a87d9d2023e3394a0598e7b2 [file] [log] [blame]
Matt Spinlerf7f4a2b2025-02-20 14:24:00 -06001description: >
2 Implement to provide an interface to start a failover. Depending on the
3 implementation, this may reside on the 'from' or 'to' object (or both). The
4 'Options' method argument provides a mechanism to provide implementation
5 specific options.
6
7methods:
8 - name: StartFailover
9 description: >
10 Starts a failover operation.
11 parameters:
12 - name: Options
13 type: dict[string, variant[boolean]]
14 description: >
15 Additional options. The key is the string version of the Options
16 enum, in the form of
17 'xyz.openbmc_project.Control.Failover.Options.X'.
18 errors:
19 - xyz.openbmc_project.Common.Error.Unavailable
20
21enumerations:
22 - name: Options
23 description: >
24 Available options for starting the failover.
25 values:
26 - name: "Force"
27 description: >
28 A boolean option to force the failover when it would normally
29 not be available. The checks it bypasses are implementation
30 dependent.