<span style=" font-size:11pt;font-family:Times New Roman">There are several
'Power on' boot types represented in data/boot_table.json. Let's
take the 'REST Power On' as an example:</span><br><br><span style=" font-size:11pt;font-family:Courier New">
"REST Power On": {</span><br><span style=" font-size:11pt;font-family:Courier New">
"start": {</span><br><span style=" font-size:11pt;font-family:Courier New">
"rest": "^1$",</span><br><span style=" font-size:11pt;font-family:Courier New">
"chassis": "^Off$",</span><br><span style=" font-size:11pt;font-family:Courier New">
"boot_progress": "^Off|Unspecified$",</span><br><span style=" font-size:11pt;font-family:Courier New">
"operating_system": "^Inactive$",</span><br><span style=" font-size:11pt;font-family:Courier New">
"host": "^Off$"</span><br><span style=" font-size:11pt;font-family:Courier New">
},</span><br><span style=" font-size:11pt;font-family:Courier New">
"end": {</span><br><span style=" font-size:11pt;font-family:Courier New">
"rest": "^1$",</span><br><span style=" font-size:11pt;font-family:Courier New">
"chassis": "^On$",</span><br><span style=" font-size:11pt;font-family:Courier New">
"boot_progress": "^FW Progress,
Starting OS|OSStart$",</span><br><span style=" font-size:11pt;font-family:Courier New">
</span><span style=" font-size:11pt;color:blue;font-family:Courier New"><b>"operating_system":
"^BootComplete$",</b></span><br><span style=" font-size:11pt;font-family:Courier New">
"host": "^Running$",</span><br><span style=" font-size:11pt;font-family:Courier New">
"os_ping": "^1$",</span><br><span style=" font-size:11pt;font-family:Courier New">
"os_login": "^1$",</span><br><span style=" font-size:11pt;font-family:Courier New">
"os_run_cmd": "^1$"</span><br><span style=" font-size:11pt;font-family:Courier New">
},</span><br><span style=" font-size:11pt;font-family:Courier New">
"bmc_reboot": 0,</span><br><span style=" font-size:11pt;font-family:Courier New">
"method_type": "keyword",</span><br><span style=" font-size:11pt;font-family:Courier New">
"method": "Initiate Host Boot wait=${0}",</span><br><span style=" font-size:11pt;font-family:Courier New">
"lib_file_path": "state_manager.robot"</span><br><span style=" font-size:11pt;font-family:Courier New">
},</span><br><br><span style=" font-size:11pt;font-family:Times New Roman">The end requirements
indicate that the operating_system value must be BootComplete. I've
never seen this fail because the operating_system state was "Standby".
Unless you foresee a change coming that necessitate this, I'd be
inclined to leave it as is. As the saying goes "If it ain't
broke, don't fix it".</span><br><span style=" font-size:10pt;font-family:sans-serif"><br><br>Michael Walsh<br>IBM Dept 3AL<br>Rochester, MN<br>micwalsh@us.ibm.com<br></span><br><br><br><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">From:
</span><span style=" font-size:9pt;font-family:sans-serif">"Tony
Lee (§õ¤å´I)" <Tony.Lee@quantatw.com></span><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">To:
</span><span style=" font-size:9pt;font-family:sans-serif">"micwalsh@us.ibm.com"
<micwalsh@us.ibm.com></span><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">Cc:
</span><span style=" font-size:9pt;font-family:sans-serif">"openbmc@lists.ozlabs.org"
<openbmc@lists.ozlabs.org></span><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">Date:
</span><span style=" font-size:9pt;font-family:sans-serif">12/19/2019
09:24 PM</span><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">Subject:
</span><span style=" font-size:9pt;font-family:sans-serif">[EXTERNAL]
JSON file boot_table in openbmc-test-automation</span><br><hr noshade><br><br><br><tt><span style=" font-size:10pt">Hi Michael,<br><br>Refer to the method readHostState() in repo phosphor-logging. The description
<br>"For host on, looks for the values of 'BootComplete' or 'Standby'<br>in the OperatingSystemState property ..."<br>So, I'm wonder that if the value of the key "operating_system"
can be<br>"^BootComplete|Standby$" for action "Power On" in the
boot_table.json?<br><br>Thanks<br>Best Regards,<br>Tony<br><br></span></tt><br><br><BR>