Commit Graph

43 Commits

Author SHA1 Message Date
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
wanghuaz
6993dc7dba make local lpar_netboot work for getmacs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3042 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-30 10:26:51 +00:00
wanghuaz
3e0a906cc5 make local lpar_netboot work for getmacs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3041 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-30 10:22:21 +00:00
wanghuaz
db3fc321d1 Regarding to getmacs command, write the valid adapter to database instead of the first one.
Defect ID: [ 2082628 ] getmacs should write pinged adapter to mac table (mgt=hmc)

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2365 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-20 09:10:31 +00:00
lissav
042970679f call Utils->Version
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1844 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-07 19:04:37 +00:00
sakolish
9172f4f82a Added "-f" flag to getmacs (force LPAR shutdown)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1737 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-23 16:41:15 +00:00
sakolish
cdfb972d0f Call xCAT::Usage form getmacs instead of doing usage with PPCmac.pm module
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1585 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-04 19:44:34 +00:00
sakolish
0a805199e2 seperated mac address returned from getmacs with colons - Linux only
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1582 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-04 19:35:09 +00:00
jbjohnso
77d55609c0 -Move perl-xCAT to not have version in trunk name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1562 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-03 15:00:37 +00:00