2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

83 Commits

Author SHA1 Message Date
Victor Hu
3e10a4bc3a Power off should be called against the chassis 2017-07-10 13:05:33 -04:00
Mark Gurevich
662dc2a6de Copy ssh keys to BMC with rspconfig command 2017-06-29 15:55:34 -04:00
XuWei
4176017b17 Fix issue 3327, check environment of request type in openbmc and bmcdiscover 2017-06-25 23:06:54 -04:00
Victor Hu
b658a17af3 Change the output of firm [openbmc] to more closely match the output of
OPAL P8 machines when displaying the firmware.  Use the ID to sort, but
remove it when printing out the messages to the user
2017-06-22 20:57:10 -04:00
Victor Hu
8e90e30bac Add verbose option to be parsed by rinv [openbmc] 2017-06-22 20:57:10 -04:00
Victor Hu
a8d731bd80 Merge pull request #3261 from gurevichmark/openbmc_rflash_upload
openbmc rflash command support for -u --upload option
2017-06-19 16:25:20 -04:00
Mark Gurevich
4cdad73b8f Better error message for missing file 2017-06-19 10:59:53 -04:00
Victor Hu
df1a5aeb52 Change to only display the active firmware instead of any firmware that is listed and add in the software id into the output so that sorting would keep the various software information together. 2017-06-19 10:32:30 -04:00
zet809
54a1e38ddd Merge pull request #3145 from whowutwut/rinv_firm
Enhancements to rinv code to complete development
2017-06-19 16:54:13 +08:00
Mark Gurevich
beb7d5af12 Check for update file existance and eliminate few lines 2017-06-16 14:40:11 -04:00
Victor Hu
9de8c1aad1 For serial and model options, only return the system level information 2017-06-16 10:49:29 -04:00
Mark Gurevich
5d2e814243 openbmc rflash command support for -u --upload option 2017-06-14 16:47:52 -04:00
Mark Gurevich
dcf7873b02 Review updates 2017-06-09 13:51:22 -04:00
Mark Gurevich
e73d85c5eb openbmc rflash command support for -l --list option 2017-06-07 14:53:55 -04:00
zet809
d9bb1ace82 Merge pull request #3122 from xuweibj/bmcdiscover
Close ssl verify for bmcdiscover on Ubuntu
2017-06-05 11:28:00 +08:00
Mark Gurevich
1f4cb4e64e Development code only warning 2017-06-02 15:18:46 -04:00
Victor Hu
9340c2d2e4 Fixes the test so that rinv options will check both key and key_url 2017-06-02 14:52:53 -04:00
Victor Hu
eb9487b0b9 Handle the firmware data using the same sorted output array
and add in support for ExtendedVersion
2017-06-02 14:44:05 -04:00
Mark Gurevich
f7a39006dc Support rflash command -c option for OpenBMC 2017-06-02 12:42:16 -04:00
Victor Hu
85bcbea210 If no values are in the return array, print a message 2017-05-30 22:46:12 -04:00
Victor Hu
09ae91a31a Generically support the options for OpenBMC and not look for specific fields to print 2017-05-30 22:45:01 -04:00
Victor Hu
9a457fe2d7 For now, let's continue printing out all the values 2017-05-30 22:45:00 -04:00
Victor Hu
03b7e1fb6b Check if the item is present on the server, if not,
there's no reason to print out the data.

Fixed the sorting to be alpha, then numeric.
2017-05-30 22:44:59 -04:00
Victor Hu
6c6123ab84 Fix spacing in sub rinv_response() 2017-05-30 22:44:59 -04:00
Victor Hu
af3a07a367 Change the output of the rinv firm option to handle all possible
return values from the API in a generic string. This allows for
the code to support any string without additional effort to create
custom messages
2017-05-30 22:44:59 -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
XuWei
79f4ae63fa Close ssl verify for bmcdiscover on Ubuntu 2017-05-24 04:29:30 -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