summaryrefslogtreecommitdiffstats
path: root/app/server-control/controllers/bmc-reboot-controller.js
Commit message (Collapse)AuthorAgeFilesLines
* Fix activate image and reboot BMCDixsie Wolmers2019-05-131-8/+10
| | | | | | | | | | | | | - Change bmcReboot callback in apiutils.js to HTTP request that returns a promise that is resolved with response object - Remove emitted 'user-logged-in' as it is not needed to reboot BMC on firmware controller and bmc reboot controller - Add toast message for visual confirmation of successful BMC reboot Tested: On Server Configuration > Firmware page uploaded new image to activate and automatically reboot. After 2-3 minutes confirmed image activated and then BMC rebooted after image activation. Tested Server Control > Reboot BMC page by selecting Reboot BMC, confirmed BMC rebooted. Resolves openbmc/phosphor-webui#79 Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: Ied6809ad1ed6cc3c73ac5c818c7a06607810c396
* Add Last Reboot Timebeccabroek2018-07-271-1/+7
| | | | | | | | | | | Added last reboot date and time to Reboot BMC Page. Resolves openbmc/openbmc#2956 Tested: Rebooted and verified the date and time were correct. Change-Id: I81cf46f0ad7f4e910cd6645de9830d2952091770 Signed-off-by: beccabroek <rebecca.shaw@ibm.com>
* Format code using clang-format-5.0Andrew Geissler2018-05-241-25/+21
| | | | | | | | Once merged, this repository will have CI enforce the coding guidelines in the .clang-format file. Change-Id: I96a05972665f9c67625c6850c3da25edc540be06 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Run js-beautify and fixjsstyle on codeAndrew Geissler2018-05-241-28/+27
| | | | | | | | | | | Found this pointer on stackoverflow: https://stackoverflow.com/a/31660434/5508494 End goal is to get the code formatted well enough that clang format will run correctly against it. Change-Id: I80053e78d253d8eee49233e42d55e5807ae8fdc8 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Remove the version from each fileGunnar Mills2018-04-301-1/+0
| | | | | | | | Already have a Web UI version, no need to track the version of each file. These have not been getting updated. Change-Id: I1cd3a2c2d67b24ded5edcca9dbfd3f6806d93ed4 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Add fixes for power operationsCamVan Nguyen2018-04-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Fixes applies to 'Power on', 'Warm reboot', 'Orderly shutdown', and 'Immediate shutdown' power operations. Fixes include: - Verifying that the chassis and host transition through the expected states for each power operation. During which time a spinner will be displayed. A timeout of 5 minutes for each state transition has been added. - Displaying the current state of the host in the 'Server power' and 'Current status' bar. The state displayed will change as the host transition through different states even as the spinner continues to spin. - Displaying an error pop-up with reason for failure when the power operation fails. Resolves openbmc/openbmc#2758 Resolves openbmc/openbmc#2787 Resolves openbmc/openbmc#2803 Change-Id: I514e030f9df7bd4d8b53634408f0449cd9abada9 Signed-off-by: CamVan Nguyen <ctnguyen@us.ibm.com>
* Remove trailing spaces from filesGunnar Mills2018-03-051-3/+3
| | | | | | Tested: Manually tested GUI for any regressions Change-Id: I8c0922b7bd67b03b07e8880bc4dba3b862220b33 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Change navigation structureIftekharul Islam2017-09-201-0/+40
Change-Id: I12c819293ce1eda188dc9f257ae9370f1b73cb18 Signed-off-by: Iftekharul Islam <iislam@us.ibm.com>
OpenPOWER on IntegriCloud