2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 18:16:39 +00:00

59 Commits

Author SHA1 Message Date
Mark Gurevich
1f4cb4e64e Development code only warning 2017-06-02 15:18:46 -04:00
Mark Gurevich
f7a39006dc Support rflash command -c option for OpenBMC 2017-06-02 12:42:16 -04:00
Mark Gurevich
50ec268c13 Merge pull request #3135 from whowutwut/expose_rvitals
Expose the rvitals command as part of openbmc support
2017-05-30 16:21:16 -04:00
Victor Hu
b8894ed38b Following changes based on review comments
* Modified to display altitude instead of length
  * Print an output message if there is no values returned from the BMC
2017-05-30 14:32:07 -04:00
Victor Hu
5413376a58 Sort the output of rvitals to arrange the types of sensor data together.
Removing the node out of the label in order to allow the sort to happen
on just the keywords

For debug, just print the json instead of splitting to multiple lines
2017-05-26 14:01:50 -04:00
Victor Hu
2102c7d086 Expose the rvitals command as part of openbmc support 2017-05-24 23:02:24 -04:00
Victor Hu
74769080c8 Based on the OpenBMC Sensor API, complete the development code
for the supported options based on the possible values that are
currently allowed to be returned.  As more data is added, the code
should be able to handle the printing of the data automatically
2017-05-24 22:49:14 -04:00
Victor Hu
6e14f1ee08 Incorporated the Scale into the calculation of the value returned
from openbmc-rest, so the values make more sense to humans
2017-05-24 15:46:23 -04:00
Victor Hu
0588d4e060 Add the units to the output that is being returned from
the rvitals command to make the output more similar to
existing OpenPower BMC based servers
2017-05-24 15:31:31 -04:00
xuweibj
553a1891d4 Merge pull request #3112 from whowutwut/openbmc_expose
[openbmc] Open rpower and rinv commands for normal xCAT use
2017-05-23 13:26:08 +08:00
Victor Hu
7f22c23bf0 Open rpower and rinv commands 2017-05-22 15:47:58 -04:00
Mark Gurevich
327f570f7c Changes due to review 2017-05-19 16:22:21 -04:00
Mark Gurevich
4fd1aeae80 Handle openbmc transition states 2017-05-19 13:05:18 -04:00
XuWei
7057ab5208 Modify process of rinv firm/all depending on new url 2017-05-18 01:48:11 -04:00
Mark Gurevich
e664018cc4 Changes after review comments 2017-05-17 11:27:37 -04:00
Mark Gurevich
2e017e2c10 OpenBMC rinv sorted output 2017-05-16 15:56:49 -04:00
XuWei
e2b25f57a3 Modify output for rpower state when return Quiesced 2017-05-16 04:42:06 -04:00
Victor Hu
3d923652c5 Merge pull request #3024 from gurevichmark/rvitals_openbmc
Initial pass for OpenBMC rvitals
2017-05-11 17:11:16 -04:00
Mark Gurevich
320d79a0fd Suggested review changes 2017-05-11 09:57:05 -04:00
XuWei
79bfb9a898 modify output format when preprocess print error message 2017-05-11 03:24:28 -04:00
Mark Gurevich
c02c9269df Initial pass for OpenBMC rvitals 2017-05-10 14:58:20 -04:00
xuweibj
1e098afcb2 modify all exit to return & change return value when configuration is wrong (#3016) 2017-05-10 02:33:53 -05:00
Mark Gurevich
60eb9287bf Merge pull request #2978 from whowutwut/debug_states
Add debug information for openbmc to show Host State and Host Transition State
2017-05-09 13:29:20 -04:00
XuWei
4d0e8ece12 modified depending on comments 2017-05-07 21:55:21 -04:00
Victor Hu
7b67ff1533 Print out the data from the Rest call for the Current and Transition States 2017-05-03 20:53:21 -04:00
XuWei
f0a6d22c9e modified depending on comments 2017-05-02 22:34:25 -04:00
XuWei
db2ec5ddcc framework of rspconfig command for openbmc 2017-05-02 02:52:03 -04:00
XuWei
40441d9e71 support reventlog command for openbmc 2017-04-24 03:50:49 -04:00
XuWei
1b43f8cfcd modified depending on comments 2017-04-21 03:29:01 -04:00
XuWei
3d807a205e Merge branch 'master' of github.com:xcat2/xcat-core into E2808 2017-04-18 23:17:54 -04:00
XuWei
df9e65c4b9 Merge branch 'master' of github.com:xcat2/xcat-core into E2808 2017-04-13 03:16:40 -04:00
XuWei
e5b3e4786e Add code to support rinv and rsetboot for openbmc 2017-04-11 02:24:07 -04:00
Casandra Qiu
a943c20104 rcons command failed for openbmc 2017-04-06 15:39:20 -04:00
Victor Hu
d50980b094 Merge pull request #2695 from xuweibj/issforobmc
Get default username and password from passwd table for openbmc
2017-03-24 06:53:17 -04:00
xuweibj
21436b9577 fix issue 2727, add Async path to @INC when want to use it (#2730) 2017-03-23 04:32:22 -05:00
Victor Hu
a481910874 Remove commands that are not needed, change https to protocol variable 2017-03-21 09:47:57 -04:00
XuWei
d7d015d4da fix issue 2687, get username and password from passwd table 2017-03-20 22:44:20 -04:00
Victor Hu
2bf5b57eb0 Change the endpoint urls into variables 2017-03-20 13:29:19 -04:00
Victor Hu
b831595b70 Add the same handled commands from ipmi.pm and a generic clause that will print Unsupported 2017-03-20 13:12:16 -04:00
Victor Hu
b045fe79f0 Move the unsupported call to each command support to control what is supported and unsupported at a finer level 2017-03-20 12:18:03 -04:00
Victor Hu
7b227192f6 Move the rpower usage checking under the rpower option 2017-03-20 12:10:03 -04:00
Victor Hu
57e90bbf96 Move the unsupported function to the top and reword slightly 2017-03-20 12:04:21 -04:00
XuWei
7afa95b0fb Add warning message when OPENBMC_DEVEL is not YES in openbmc.pm 2017-03-16 22:51:39 -04:00
Casandra Qiu
c66aadb0b7 remove a debug message 2017-03-15 15:52:30 -04:00
Casandra Qiu
033fa4fb41 fix process_request routine after merge 2017-03-15 15:49:42 -04:00
Casandra Qiu
4fa1119178 change nodeip to bmcip 2017-03-15 15:35:13 -04:00
Casandra Qiu
a924cfffe5 remove configssh routine 2017-03-15 15:35:13 -04:00
Casandra Qiu
6112875d5d disable configssh routine 2017-03-15 15:34:34 -04:00
Casandra Qiu
20b71f888b Add support to config passwordless for openbmc 2017-03-15 15:34:34 -04:00
Casandra Qiu
8a8c5a943d use mgt=ipmi instead of openbmc 2017-03-15 15:34:34 -04:00