2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

4993 Commits

Author SHA1 Message Date
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
Mark Gurevich
c5d40aa00b Merge pull request #3134 from whowutwut/rvitals_options
Add support for the rvitals option for openbmc based on the defined API
2017-05-30 14:45:53 -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
cxhong
7ff64b220f Wrong mac address showing for switchdiscover command (#3131) 2017-05-25 00:14:16 -05: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
Weihua Hu
b1964bc735 Merge pull request #3111 from cxhong/pdu
Modify pdu error message and check pdu version for different OID
2017-05-24 10:12:58 +08:00
cxhong
dc5b14fa13 Merge pull request #3059 from mattaezell/switch_findme
Enable switches to run findme for autodiscovery (#2662)
2017-05-23 11:11:26 -04:00
XuWei
75cb09d112 modified depending on comments 2017-05-23 03:41:30 -04:00
XuWei
4515d197d9 Use LWP to send https request in bmcdiscover instead of curl command 2017-05-23 02:34:15 -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
cxhong
bd60341cb6 Support ZTP process for Cumulus Switch (#3085)
* Support ZTP process for Cumulus Switch

* change name of onieztp to cumulusztp and add server ip
2017-05-22 21:45:18 -05:00
Victor Hu
e2f2d67ba8 Check the failed nodes array before printing out the (#3110)
error messages
2017-05-22 21:41:14 -05:00
Victor Hu
7f22c23bf0 Open rpower and rinv commands 2017-05-22 15:47:58 -04:00
Casandra Qiu
ea2d22887b Modify pdu error message and check pdu version for different OID 2017-05-22 15:27:11 -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
Mark Gurevich
7dddec27e9 Merge pull request #3092 from xuweibj/rinvfirm
Modify process of rinv firm/all depending on new url
2017-05-19 07:28:52 -04:00
cxhong
ba2f34ad3d Merge pull request #3022 from jjohnson42/fixpdu
Support newer PDU firmware
2017-05-18 14:46:14 -04:00
Yuan Bai
80e5e96542 fix mtu support (#3083) 2017-05-18 01:00:50 -05:00
XuWei
7057ab5208 Modify process of rinv firm/all depending on new url 2017-05-18 01:48:11 -04:00
Victor Hu
ff4fd41e6e Merge pull request #3076 from gurevichmark/rinv_format
OpenBMC rinv sorted output
2017-05-17 22:20:37 -04:00
Mark Gurevich
e664018cc4 Changes after review comments 2017-05-17 11:27:37 -04:00
cxhong
68736a6440 Merge pull request #3037 from xuweibj/I3036
Get username and password from passwd table for openbmc discover
2017-05-17 08:55:27 -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
Matt Ezell
cc198bef12 Enable switches to run findme for autodiscovery (#2662) 2017-05-15 15:26:58 -04:00
Mark Gurevich
83e0e51944 Merge pull request #3045 from zet809/fix_issue_2577
Fix issue 2577: chdef -m should return correct warning message when s…
2017-05-15 10:16:45 -04:00
zet809
9000ae5d1e Merge branch '2.13' into master 2017-05-15 16:47:58 +08:00
chenglch
b5448dc6f8 Fix regular expression issue while listing group object
Group object should not be translate with the object name even if
the attribute contains regular expression.

Fix-issue: #3047
2017-05-15 09:57:12 +08:00
ertaozh
e07b607b44 Fix issue 2577: chdef -m should return correct warning message when some attributes is not permit to be changed. 2017-05-12 06:33:37 -04:00
zet809
e34dfc0722 Merge pull request #3035 from gurevichmark/mkdef_exists
Better processing mkdef if object already exists
2017-05-12 15:39:52 +08:00
XuWei
83f5ea9321 Get username and password from passwd table for openbmc discover 2017-05-11 23:12:15 -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
a5dda1a07e Better processing mkdef if object already exists 2017-05-11 14:47:33 -04:00
Mark Gurevich
320d79a0fd Suggested review changes 2017-05-11 09:57:05 -04:00
Mark Gurevich
18dc716959 Merge pull request #2951 from xuweibj/I2948
Add bmc specific for rpower in usage & return if encountered error
2017-05-11 09:00:36 -04:00
zet809
d2fd44fbdf Merge pull request #3028 from immarvin/onpostage
partial fix for [openbmc]xcatd reported "Died at /opt/xcat/sbin/xcatd " when openbmc nodes updated its status from "installing" to "booting" #3026
2017-05-11 16:13:35 +08:00
zet809
90b245797b Merge pull request #3025 from xuweibj/rtvalue
modify return value of bmcdiscover check and ipsource options
2017-05-11 16:09:27 +08:00
chenglch
0eb924a793 Merge pull request #3030 from zet809/fix_issue_2803
Fix issue 2803: rinv ocasionally produces BMC error without telling w…
2017-05-11 15:54:12 +08:00
zet809
74b460072c Merge pull request #3029 from xuweibj/I3206
modify output format when preprocess print error message
2017-05-11 15:51:31 +08:00