1b1b4d261SWilliam A. Kennington IIIdescription: > 2b1b4d261SWilliam A. Kennington III Implement to provide host state management 3b1b4d261SWilliam A. Kennington III 4b1b4d261SWilliam A. Kennington IIIproperties: 5b1b4d261SWilliam A. Kennington III - name: RequestedHostTransition 6b1b4d261SWilliam A. Kennington III type: enum[self.Transition] 78da396caSPatrick Williams default: "Off" 8b1b4d261SWilliam A. Kennington III description: > 9a1347418SPatrick Williams The desired host transition. This will be preserved across AC power 10a1347418SPatrick Williams cycles of the BMC. 11abb61a0fSAndrew Geissler errors: 12abb61a0fSAndrew Geissler - xyz.openbmc_project.State.Host.Error.BMCNotReady 13637ea06cSAndrew Geissler - xyz.openbmc_project.Common.Error.NotAllowed 14*57db6a13SThang Tran - xyz.openbmc_project.Common.Error.Unavailable 15637ea06cSAndrew Geissler 16637ea06cSAndrew Geissler - name: AllowedHostTransitions 17c6883fc4SPatrick Williams type: set[enum[self.Transition]] 18637ea06cSAndrew Geissler flags: 19637ea06cSAndrew Geissler - const 20637ea06cSAndrew Geissler description: > 21637ea06cSAndrew Geissler A const property describing the allowed host transitions. Some systems 22637ea06cSAndrew Geissler may not support all transitions so this property can be filled in with 23637ea06cSAndrew Geissler only the supported transitions. If this property is empty then all are 24637ea06cSAndrew Geissler supported. This list is valid from any CurrentHostState. 25b1b4d261SWilliam A. Kennington III 26b1b4d261SWilliam A. Kennington III - name: CurrentHostState 27b1b4d261SWilliam A. Kennington III type: enum[self.HostState] 28b1b4d261SWilliam A. Kennington III description: > 29b1b4d261SWilliam A. Kennington III A read-only property describing the current state of the host 30b1b4d261SWilliam A. Kennington III firmware. A user can determine if a system is in transition by 31b1b4d261SWilliam A. Kennington III comparing the CurrentHostState and the RequestedHostTransition 32b1b4d261SWilliam A. Kennington III properties. 33b1b4d261SWilliam A. Kennington III 34b1b4d261SWilliam A. Kennington III - name: RestartCause 35b1b4d261SWilliam A. Kennington III type: enum[self.RestartCause] 368da396caSPatrick Williams default: "Unknown" 37b1b4d261SWilliam A. Kennington III description: > 38b1b4d261SWilliam A. Kennington III A property to define restart cause of a host. 39b1b4d261SWilliam A. Kennington III 40b1b4d261SWilliam A. Kennington IIIenumerations: 41b1b4d261SWilliam A. Kennington III - name: Transition 42b1b4d261SWilliam A. Kennington III description: > 43b1b4d261SWilliam A. Kennington III The desired transition for host firmware 44b1b4d261SWilliam A. Kennington III values: 458da396caSPatrick Williams - name: "Off" 46b1b4d261SWilliam A. Kennington III description: > 47b1b4d261SWilliam A. Kennington III Host firmware should be off 488da396caSPatrick Williams - name: "On" 49b1b4d261SWilliam A. Kennington III description: > 50b1b4d261SWilliam A. Kennington III Host firmware should be on 518da396caSPatrick Williams - name: "Reboot" 52b1b4d261SWilliam A. Kennington III description: > 53a1347418SPatrick Williams Host firmware should be rebooted. Chassis power will be cycled 54a1347418SPatrick Williams from off to on during this reboot 558da396caSPatrick Williams - name: "GracefulWarmReboot" 56b1b4d261SWilliam A. Kennington III description: > 57a1347418SPatrick Williams Host firmware be will notified to shutdown and once complete, 58a1347418SPatrick Williams the host firmware will be rebooted. Chassis power will remain on 59b1b4d261SWilliam A. Kennington III throughout the reboot 608da396caSPatrick Williams - name: "ForceWarmReboot" 61b1b4d261SWilliam A. Kennington III description: > 62b1b4d261SWilliam A. Kennington III Host firmware will be rebooted without notification and chassis 63b1b4d261SWilliam A. Kennington III power will remain on throughout the reboot 64b1b4d261SWilliam A. Kennington III 65b1b4d261SWilliam A. Kennington III - name: HostState 66b1b4d261SWilliam A. Kennington III description: > 67b1b4d261SWilliam A. Kennington III The current state of the host firmware 68b1b4d261SWilliam A. Kennington III values: 698da396caSPatrick Williams - name: "Off" 70b1b4d261SWilliam A. Kennington III description: > 71b1b4d261SWilliam A. Kennington III Host firmware is not running 728da396caSPatrick Williams - name: "TransitioningToOff" 73b1b4d261SWilliam A. Kennington III description: > 74b1b4d261SWilliam A. Kennington III Host firmware is transitioning to an Off state 758da396caSPatrick Williams - name: "Standby" 76b1b4d261SWilliam A. Kennington III description: > 77b1b4d261SWilliam A. Kennington III Host firmware is in a standby state. It is awaiting a Transition 78b1b4d261SWilliam A. Kennington III request to On to move to Running. This is an intermediate state 79b1b4d261SWilliam A. Kennington III that some implementations of this object may move to between Off 80b1b4d261SWilliam A. Kennington III and Running. 818da396caSPatrick Williams - name: "Running" 82b1b4d261SWilliam A. Kennington III description: > 83b1b4d261SWilliam A. Kennington III Host firmware is running 848da396caSPatrick Williams - name: "TransitioningToRunning" 85b1b4d261SWilliam A. Kennington III description: > 86b1b4d261SWilliam A. Kennington III Host firmware is transitioning to a Running state 878da396caSPatrick Williams - name: "Quiesced" 88b1b4d261SWilliam A. Kennington III description: > 89a1347418SPatrick Williams Host firmware is quiesced. The host firmware is enabled but 90a1347418SPatrick Williams either unresponsive or only processing a restricted set of 91a1347418SPatrick Williams commands. This state can be a result of the host entering an 92a1347418SPatrick Williams error state or booting into a BIOS setup environment. The 93a1347418SPatrick Williams BootProgress property will provide details on which it is. 948da396caSPatrick Williams - name: "DiagnosticMode" 95b1b4d261SWilliam A. Kennington III description: > 96b1b4d261SWilliam A. Kennington III Host firmware is capturing debug information. Powering off your 97a1347418SPatrick Williams system while the host is in this state will prevent the debug 98a1347418SPatrick Williams data from being properly collected. The host will move to one of 99a1347418SPatrick Williams the other states once complete. 100b1b4d261SWilliam A. Kennington III 101b1b4d261SWilliam A. Kennington III - name: RestartCause 102b1b4d261SWilliam A. Kennington III description: > 103b1b4d261SWilliam A. Kennington III The reason for host restart. 104b1b4d261SWilliam A. Kennington III values: 1058da396caSPatrick Williams - name: "Unknown" 106b1b4d261SWilliam A. Kennington III description: > 107b1b4d261SWilliam A. Kennington III Reason Unknown 1088da396caSPatrick Williams - name: "RemoteCommand" 109b1b4d261SWilliam A. Kennington III description: > 110b1b4d261SWilliam A. Kennington III Remote command issued 1118da396caSPatrick Williams - name: "ResetButton" 112b1b4d261SWilliam A. Kennington III description: > 113b1b4d261SWilliam A. Kennington III Reset button pressed 1148da396caSPatrick Williams - name: "PowerButton" 115b1b4d261SWilliam A. Kennington III description: > 116b1b4d261SWilliam A. Kennington III Power button pressed 1178da396caSPatrick Williams - name: "WatchdogTimer" 118b1b4d261SWilliam A. Kennington III description: > 119b1b4d261SWilliam A. Kennington III Watchdog Timer expired 1208da396caSPatrick Williams - name: "PowerPolicyAlwaysOn" 121b1b4d261SWilliam A. Kennington III description: > 122b1b4d261SWilliam A. Kennington III Power Policy Host Always on 1238da396caSPatrick Williams - name: "PowerPolicyPreviousState" 124b1b4d261SWilliam A. Kennington III description: > 125b1b4d261SWilliam A. Kennington III Power Policy Previous State of Host 1268da396caSPatrick Williams - name: "SoftReset" 127b1b4d261SWilliam A. Kennington III description: > 128b1b4d261SWilliam A. Kennington III Soft reset of Host 1298da396caSPatrick Williams - name: "ScheduledPowerOn" 130ab2ce4eaSAndrew Geissler description: > 131ab2ce4eaSAndrew Geissler The restart was scheduled via the 132ab2ce4eaSAndrew Geissler xyz.openbmc_project.State.ScheduledHostTransition interface 1338da396caSPatrick Williams - name: "HostCrash" 134e0764cf4SAndrew Geissler description: > 135a1347418SPatrick Williams The host firmware crashed and the BMC has automatically 136a1347418SPatrick Williams initiated a restart of the host firmware 137855b46f3SPatrick Williams 138855b46f3SPatrick Williamspaths: 139855b46f3SPatrick Williams - namespace: /xyz/openbmc_project/state 140855b46f3SPatrick Williams segments: 141855b46f3SPatrick Williams - name: Host 142855b46f3SPatrick Williams value: host 143