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

62 Commits

Author SHA1 Message Date
cxhong
df2f6a6cb5 Merge pull request #3311 from xuweibj/I3264
Modified judging condition of openbmc in bmcdiscover, if not open enter bmcdiscover_ipmi
2017-06-27 16:54:27 -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
bc46643b73 Print the XCAT_DEV_WITHERSPOON bypass message out to the user 2017-06-22 23:08:15 -04:00
Victor Hu
32b467d635 Our p9 boxes do not have any VPD information, so in order to force
the code to return a generated discovered definition, blank out the mtm
string if XCAT_DEV_WITHERSPOON=TRUE
2017-06-22 22:49:02 -04:00
Victor Hu
eba16f3dd8 Found out that for Witherspoon machines, if the host has not been booted
there is no system information returned, so check for the boxelder bmc
for a model/serial combination to use
2017-06-22 20:39:27 -04:00
XuWei
aaa62e3333 Modified judging condition of openbmc in bmcdiscover, if not open enter bmcdiscover_ipmi 2017-06-21 22:26:48 -04:00
Victor Hu
3f43f44c7e Update code to print a warning message if we get a response error.
Currently there is nothing printed back so we can't tell if an error
has occurred.  Allow for some debug output if XCATBYPASS=1
2017-06-20 15:58:16 -04:00
Victor Hu
7beacaa631 With mid June/2017 firmware, model number is moved from PartNumber -> Model 2017-06-16 11:04:10 -04:00
zet809
f05a0ace3b Merge pull request #3206 from whowutwut/bmcdiscover_openbmc
Change bmcdiscover to look at system information instead of motherboard info for OpenBMC
2017-06-09 10:47:32 +08:00
Victor Hu
061b230edb Change to PartNumber and SerialNumber for bmcdiscover 2017-06-07 11:59:54 -04:00
XuWei
b0fece2907 modify format of error msg for 2200 port to hash according to other msg 2017-06-06 02:10:18 -04:00
Victor Hu
a2f2eaf0e7 Change bmcdiscover to look at system information instead of motherboard
information for the MTM/Serial Number.  Use variables for building up
then endpoint for OpenBMC
2017-06-05 20:05:00 -04:00
XuWei
79f4ae63fa Close ssl verify for bmcdiscover on Ubuntu 2017-05-24 04:29:30 -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
XuWei
83f5ea9321 Get username and password from passwd table for openbmc discover 2017-05-11 23:12:15 -04:00
XuWei
36635b3fea modify return value of bmcdiscover check and ipsource options 2017-05-10 22:33:59 -04:00
XuWei
f9eef1d3d0 modified depending on comments 2017-05-09 01:15:04 -04:00
XuWei
52e2e2ff75 modified depending on comments 2017-05-08 04:00:52 -04:00
XuWei
2155d8c33d modified depending on comments 2017-05-07 22:20:04 -04:00
XuWei
bc5663b911 Enhance bmcdisocver to support openbmc 2017-05-05 02:30:08 -04:00
XuWei
08443c20e0 fix issue 2348, check error msg when run bmcdiscover 2017-03-28 00:55:34 -04:00
Kilian Cavalotti
4bfdf4d908 bmcdiscover: normalize nodename if mtm or serial contain unauthorized
characters
2017-02-10 14:10:06 -08:00
Kilian Cavalotti
603c7785f7 MTM: add support for other vendors, in the form of vendor::model 2017-02-10 13:38:22 -08:00
XuWei
a1d590f85f fix issue 2296, get correct mtms for B&S 2016-12-21 23:44:02 -05:00
Casandra Qiu
d5022f8966 Remove nodetype and hwtype from bmcdiscover -z output 2016-10-18 13:03:27 -04:00
Casandra Qiu
6dbb558cce change message to W as warning message 2016-10-12 11:24:19 -04:00
Casandra Qiu
f69ced6932 Add WARN message if it has '-t' options 2016-10-11 22:15:29 -04:00
Casandra Qiu
7587c3b946 Remove -t option for bmcdiscover and used by default 2016-10-11 09:08:19 -04:00
Casandra Qiu
fb033f83d9 removed some blank space 2016-09-26 08:50:37 -04:00
Casandra Qiu
0a8379c9ec modify code per ErTao's suggestion 2016-09-22 11:09:06 -04:00
Casandra Qiu
e7f8d4261c bmcdiscover -i IP -u USERID -p PASSW0RD --ipsource failed 2016-09-21 22:40:36 -04:00
Victor Hu
6133755f27 Seems like for discovery of FSP and TUL servers, there is no bmcuser
name so adding the code from commit 3f54b456d2f2479489386b9291fa1867dd22c32d
and d82e14b56656482279d58e38295a9900e82ba056 to set the default user breaks
that function.  Reverting back to the old ways
2016-08-30 13:42:21 -04:00
Mark Gurevich
db9a71750e Fix sytax errors reported by perltidy 2016-07-25 08:56:18 -04:00
Mark Gurevich
0a3fbd8d51 perltidy all perl files 2016-07-20 11:40:27 -04:00
Patrick Lundgren
27f23d33b9 Handle commas in --range for nmap 2016-06-23 10:37:50 -04:00
Casandra Qiu
1a4a64644e move get_nmapversion() to Utils.pm 2016-05-31 10:56:15 -04:00
Casandra Qiu
be2e49a632 support different outputs from nmap command 2016-05-25 13:54:02 -04:00
Casandra Qiu
abbd1817ac Support lower version of nmap on sles11.4 2016-05-17 16:13:47 -04:00
Victor Hu
16f30d6bf0 In the error message, print the IP address for the BMC instead of the generated node
name because the generated node name is not complete and does not make sense
2016-05-07 09:54:46 -04:00
Victor Hu
3f54b456d2 Overwriting the -u option passed in to bmcdiscover command was
only getting executed under a test for the -p option.  Move the
check outside so we overlay the default if any option is specified
2016-05-06 11:28:04 -04:00
Victor Hu
d82e14b566 Change the usage to contain the short options for simplicity
- Fix the behavior so we obtain the default user/pass from the passwd table
- overwrite the default using the command line options
- only the --check requires the user and pass to be passed in
- Do not display anything or write if the user/pass is incorrect, ERROR out
2016-04-28 00:18:56 -04:00
Victor Hu
e55bb69c3e Fix Formatting 2016-04-27 23:50:48 -04:00
Victor Hu
d21f29b5bf Fix bmcdiscover usage after code review
- change the bmcpwd option to bmcpasswd
2016-03-21 15:50:36 -04:00
Victor Hu
582b9d68d5 Clean up the usage and manpage for bmcdiscover
Improve the output message for --ipsource and --check
2016-03-12 08:10:07 -05:00
XuWei
18e85a8441 to fix Issue 559 2016-01-10 20:41:45 -05:00
bybai
9e0fe3ae0b issue426 bmcdiscover return message need modified on ubuntu 2015-11-18 00:09:20 -05:00
ertaozh
861164068b add flag -t for bmcdiscovery to generate a temp bmc node 2015-11-01 21:31:32 -05:00
ertaozh
e95cef86ac enhance bmcdiscover to get mtms for Firestone machine 2015-09-25 03:44:24 -04:00
bybai
c80a261c74 add -m to void breaking
backwards compatibility
2015-08-12 02:23:03 -04:00