John Wedig | 815c887 | 2025-01-07 13:27:02 -0800 | [diff] [blame] | 1 | option( |
| 2 | 'host_monitor_service_name', |
| 3 | type: 'string', |
| 4 | value: 'xyz.openbmc_project.State.OperatingSystem{}', |
| 5 | description: 'Dbus service to monitor. Use {} in string if host number needs to be inserted' |
| 6 | ) |
| 7 | option( |
| 8 | 'host_monitor_object_path', |
| 9 | type: 'string', |
| 10 | value: '/xyz/openbmc_project/state/os', |
| 11 | description: 'Dbus object path to monitor. Use {} in string if host number needs to be inserted' |
| 12 | ) |
| 13 | option( |
| 14 | 'host_monitor_interface', |
| 15 | type: 'string', |
| 16 | value: 'xyz.openbmc_project.State.OperatingSystem.Status', |
| 17 | description: 'Dbus interface, where the monitored property is located.', |
| 18 | ) |
| 19 | option( |
| 20 | 'host_monitor_property', |
| 21 | type: 'string', |
| 22 | value: 'OperatingSystemState', |
| 23 | description: 'Dbus property to monitor', |
| 24 | ) |
| 25 | option( |
| 26 | 'host_monitor_host_in_reset_value', |
| 27 | type: 'string', |
| 28 | value: 'xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.Inactive', |
| 29 | description: 'Dbus property value that indicates the host is in reset', |
| 30 | ) |
| 31 | option( |
| 32 | 'host_monitor_host_running_value', |
| 33 | type: 'string', |
| 34 | value: 'xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.Standby', |
| 35 | description: 'Dbus property value that indicates the host OS is running', |
| 36 | ) |