commit | a4ec46799be5c1181210762df8ff0b3c00448780 | [log] [tgz] |
---|---|---|
author | Jayashankar Padath <jayashankar.padath@in.ibm.com> | Fri Apr 27 18:44:13 2018 +0530 |
committer | Gunnar Mills <gmills@us.ibm.com> | Thu Jun 28 13:53:03 2018 +0000 |
tree | 37e12ea476c2ba05a5b88a2aecca380111bc8e43 | |
parent | 119ae125f0afa4c65bf1305a313beed2d2a37433 [diff] |
Update the server power state dynamically in GUI This uses websocket mechanism to retrieve the server power state and update the same. Resolves openbmc/openbmc#3102 Tested: Running GUI locally and verified the following scenarios: - Power on operation from GUI and host command line - Power off operation from host command line - Warm reboot operation from GUI - Cold reboot operation from GUI - Immediate shutdown operation from GUI - Orderly shutdown operation from GUI In all of the above scenarios state change is notified to GUI at right time. Change-Id: I1c97ae10419078dfe16a1d097082580c29827fb7 Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com>
TODO: Write a project description
nodejs npm
npm install
npm run-script server
This will run it locally in http://localhost:8080
.
https://<bmc-ip>
and bypass the secure warning. You will see a JSON response with Login required
message.http://localhost:8080
. Enter the BMC IP, Username and Password (defaults: root
/0penBmc
).Now you are logged in.