Matt Spinler | f7f4a2b | 2025-02-20 14:24:00 -0600 | [diff] [blame^] | 1 | description: > |
| 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 | |
| 7 | methods: |
| 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 | |
| 21 | enumerations: |
| 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. |