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

105 Commits

Author SHA1 Message Date
XuWei
24c78e6b1a modified depending on comments 2017-07-26 22:51:40 -04:00
XuWei
649efc396e modify rsetboot depending on URL & data 2017-07-25 23:08:11 -04:00
Victor Hu
a8bf700c68 put back stat option for rsetboot 2017-07-23 23:29:35 -04:00
Victor Hu
e97523d790 Open up the rsetboot function for OpenBMC
Print message that informs user and dev teams that function is not yet exposed in the firmware
2017-07-20 17:38:44 -04:00
XuWei
577e5cef28 modified depending on comments 2017-07-19 23:22:33 -04:00
XuWei
3957ca41db fix 3496, depends on xcatdebugmode to print debug msg 2017-07-19 02:51:40 -04:00
Victor Hu
7667573a81 Change to support hierarchy, implemented in PR #3450 2017-07-14 09:12:48 -04:00
Victor Hu
2523fafe0a Add support for passing in "boolean" values in the openbmc REST
interfaces.  Perl doesn't really support this so pass in "true/false"
as strings and we will create the JSON data object without quotes
2017-07-14 09:12:47 -04:00
Victor Hu
469fc29013 Framework and code to support rbeacon on/off 2017-07-14 09:12:47 -04:00
Victor Hu
64e97a866c Merge pull request #3438 from xuweibj/I3436
Add rpower bmcreboot command for openbmc
2017-07-14 09:10:04 -04:00
zet809
753c443165 Merge pull request #3450 from xuweibj/hierarchy
To support hierarchy for openbmc
2017-07-13 16:42:35 +08:00
xuweibj
fb4cf5367d add testcases for openbmc simulator delay response and modify timeout of async (#3431) 2017-07-13 16:07:57 +08:00
XuWei
cda8b539c0 To support hierarchy for openbmc 2017-07-13 03:20:48 -04:00
Mark Gurevich
1e8e4e0125 Merge pull request #3378 from xuweibj/boot
Ok, in that case I will merge.
2017-07-12 09:16:22 -04:00
XuWei
19a0470374 Add rpower bmcreboot command for openbmc 2017-07-11 22:14:58 -04:00
Victor Hu
fccace532c Add option to rpower for OpenBMC to return the state of the BMC.
This is a feature that the openbmc management utility allows us to
obtain over the REST interfaces
2017-07-11 14:53:18 -04:00
xuweibj
d94bfd7677 Merge pull request #3425 from whowutwut/rpower_softoff
Support rpower softoff for openbmc
2017-07-11 14:02:05 +08:00
Victor Hu
1fe34083b6 Initial commit to support rpower softoff for openbmc 2017-07-10 16:18:03 -04:00
Mark Gurevich
3b0f7b7852 Merge pull request #3423 from whowutwut/rpower_hardoff
[openbmc] rpower off called against chassis object, rpower state aware of chassis state.
2017-07-10 16:08:09 -04:00
Victor Hu
76b54fc231 Work around a problem with OpenBMC reporting incorrect current
status.  When this is fixed we will have to revisit this and update
based on the chassis and host status
2017-07-10 15:47:10 -04:00
Mark Gurevich
c5265793c5 Print info message and allow rspconfig sshcfg to go through 2017-07-10 14:06:25 -04:00
Victor Hu
3e10a4bc3a Power off should be called against the chassis 2017-07-10 13:05:33 -04:00
XuWei
e7656b30b4 [DO NOT MERGE]Task 3338, refine rsetbot command for OpenBMC 2017-07-04 21:22:22 -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