commit | cacfa6df26bc3823efe70a8457964873c9fe7fe0 | [log] [tgz] |
---|---|---|
author | Gunnar Mills <gmills@us.ibm.com> | Wed Feb 07 12:09:02 2018 -0600 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Mon Feb 12 23:48:15 2018 +0000 |
tree | cb0c9daa44bdf7b736e7a1236c681115074579dc | |
parent | 3aa8b535e870746181d6877ee8e6ae616abeb310 [diff] |
Warm Reboot should call the host reboot object From https://github.com/openbmc/docs/blob/master/host-management.md: To reboot the host: curl -c cjar -b cjar -k -H "Content-Type: application/json" -X PUT -d '{"data": "xyz.openbmc_project.State.Host.Transition.Reboot"}' https://${bmc}/xyz/openbmc_project/state/host0/attr/RequestedHostTransition Resolves openbmc/openbmc#2797 Tested: Pointed the local GUI to a Witherspoon system and verfied the correct rest call was made and the system warm rebooted. Change-Id: If073ef4447b323777603e886668212bd04791eea Signed-off-by: Gunnar Mills <gmills@us.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.