Commit Graph

27 Commits

Author SHA1 Message Date
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