Commit Graph

58 Commits

Author SHA1 Message Date
zhaoertao
15cc210445 fix bug 4250 xcat crashes system console on IBM power system: 8248-L4T 2014-08-27 00:50:58 -07:00
yinle
7c0f8b3208 Fix bug #2987 getmacs -o has some issues.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14693 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-21 07:40:30 +00:00
zhaoertao
571f3e3962 for item: clean up Utils.pm, the code in perl-xCAT/xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13461 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 03:48:50 +00:00
zhaoertao
0c5453290d use 'verbose' instead of 'Verbose' option to match the command usage in Usage.pm.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13206 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 09:03:22 +00:00
zhaoertao
2f4cbf7dbf code for Adding verbose for xCAT commands item
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13136 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 09:43:16 +00:00
jjhua
1a71630307 For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12778 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 02:52:02 +00:00
daniceexi
4bb34e0e92 fixing bug 3490738: one additional change from last chackin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11930 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 09:54:53 +00:00
daniceexi
9e173d19ff fixing bug 3490738: for getmacs -F option, mac address now can be with or without colon, uppercase and lowcase is also supported.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11929 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 09:49:34 +00:00
wanghuaz
ff00b0716e Added getmacs -M option to disable mac address failover
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11758 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-06 07:51:22 +00:00
yinle
6d8bfba2f3 minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11604 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-17 05:59:11 +00:00
yinle
29cac2f62c Change the way of getmacs works. Invoke the sub-routine LparNetbootExp->lparnetbootexp.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11512 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-08 09:27:36 +00:00
wanghuaz
745a5c017e Give more specific information to the error msg and where the issue could be
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10077 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-13 09:57:37 +00:00
wanghuaz
631a625666 Fixed a getmacs issue 3294236 in 2.6.6
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9470 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-03 06:14:03 +00:00
wanghuaz
ebe03d3c51 Removed --hfi for getmacs command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9357 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-20 09:52:33 +00:00
nott
6308de24e7 modified getmacs to use primary servicenode value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8682 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-17 18:55:33 +00:00
wanghuaz
821ba4eae2 Fixed bug 3133969: getmacs/rneboot-> cannot handle error for rpower failure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8473 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-20 09:14:15 +00:00
jjhua
34ac6419a4 fixed bug 3109407, use if(@TableRowArray) to replace if(defined(@TableRowArray))
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8167 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-16 08:03:24 +00:00
wanghuaz
76653dff61 Calculate secondary 1 and secondary 2 mac address based on the primary MAC for HFI devices
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6312 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-02 09:57:06 +00:00
wanghuaz
588ba1f3c2 Netboot over HFI code commit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6281 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-01 08:46:21 +00:00
ligc
438ec1c80d IPv6 fix: validate ip address
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6274 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-31 08:20:33 +00:00
ligc
3dc07052a1 IPv6 fix: validate ip address
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6273 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-31 08:15:32 +00:00
jjhua
2bcc16b884 getmacs and rnetboot with -o flag through hmc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6253 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-27 01:43:39 +00:00
jjhua
b1ff94f270 enhance getmacs and rnetboot with -o option for p7 ih lpar
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6214 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-25 05:15:41 +00:00
ligc
dfb30a46a9 call NetworkUtils.pm subroutines instead of Utils.pm subroutines
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6009 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-07 02:44:50 +00:00
ligc
051eaae467 ipv6 support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5988 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-06 09:32:49 +00:00
wuzhy
4a32d80eb6 Fix bug 2915235
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5440 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-11 07:36:37 +00:00
wuzhy
3e208cce34 Fix bug 2915235
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5437 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-11 04:16:39 +00:00
wuzhy
ecb3f7c924 Fix bug 2915235
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5436 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-11 01:14:50 +00:00
jjhua
3cd5fb43ae fixed defect 2888617
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4531 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-10 06:27:14 +00:00
wanghuaz
67c402f39c Make the output of getmacs more clearly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4385 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-14 09:06:03 +00:00
wanghuaz
f2965109a5 Fixed defect 2840135 that getmacs -F option containing wrong format but not returen error.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4362 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-13 06:02:45 +00:00
wanghuaz
2defade7c8 Output error message and show help info if the default profile has not been activated when running getmacs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4156 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-17 10:54:01 +00:00
wanghuaz
3b65386dfb Fixed defect:2858366. Can only return 1 CEC's mac once
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4123 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-14 10:15:13 +00:00
wanghuaz
1e7e3317f3 Fixed one typo error for Linux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4010 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-19 07:05:13 +00:00
wanghuaz
217867e98a fixed defect 2830176 for better msg information
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3922 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-03 08:33:06 +00:00
wanghuaz
e08beffb10 fixed defect 2819355 to check currstate before rnetboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3902 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-30 03:37:04 +00:00
wanghuaz
0a6dc4ad6e kill child process if xcat command stopped by signal
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3884 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-28 07:56:43 +00:00
wanghuaz
a2bc5a0dd8 use arp protocal to get the mac address
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3771 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-14 12:16:48 +00:00
wanghuaz
5687308766 if -d specified, don't write mac to database
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3769 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-14 10:16:13 +00:00
wanghuaz
321b06e1fb fixed defect:2817344. getmac -C option should not work with noderange. Otherwise, muiltiple computes nodes will use the same IP and ping the same management nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3726 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-08 06:18:43 +00:00
wanghuaz
264a71e2d3 Format the mac address which get from hmc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3725 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-08 05:48:10 +00:00
wanghuaz
e5892fb437 Fix output issue in getmacs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3522 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-05 10:07:38 +00:00
wanghuaz
94d4a16216 help message and man page update for getmacs -F option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3521 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-05 09:06:07 +00:00
wanghuaz
2afae2141c Call lshwres to achieve mac address if no ping test performed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3519 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-05 07:29:12 +00:00
wanghuaz
deb834218b add conserveronhmc setting in site table to control if we use lpar_netboot script local or on hmc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3453 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-27 07:52:18 +00:00
wanghuaz
8b72cc328e force lpar shutdown if lpar is running Linux even user didn't specify -f option for getmacs/rnetboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3355 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-12 06:32:46 +00:00
wanghuaz
38cec77d7a Fixed bug: 2767246, use get_serviceNode routine to get the service node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3266 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-28 09:10:19 +00:00
wanghuaz
529c817892 Fixed defect 2771631: getmacs writes lpar name instead of node name to mac table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3221 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-20 05:03:07 +00:00
wanghuaz
ee287bbe67 improve getmacs ping test without client IP
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3185 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-14 03:29:22 +00:00
wanghuaz
c45d208ed3 Fixed bug 2728953 about rnetboot/getmacs in Norm's test: use environment variables to save the passwd and userid instead of create one random file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3148 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-09 09:32:55 +00:00