Commit Graph

182 Commits

Author SHA1 Message Date
ligc
a36bcbb34b temporary comment out the xCAT::InstUtils->myxCATname in runcmd subroutine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8635 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-13 02:56:24 +00:00
nott
6818267609 remove missleading msg - update
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8631 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-12 13:59:53 +00:00
nott
a55f189a78 remove missleading msg
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8628 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-12 13:10:59 +00:00
nott
ac88177e75 fix myxCATname
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8627 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-12 12:26:46 +00:00
nott
afe6c1c420 add server name to verbose output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8579 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-07 20:42:31 +00:00
jjhua
ef83b1dc1a support for mkhwconn with --port option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8518 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-29 02:20:29 +00:00
yinle
209306f234 move a function (getchildren)to DBobjtUtils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8428 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-16 02:45:54 +00:00
yinle
27c6986fa0 FSP/BPA redundancy : modify code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8371 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-10 03:07:32 +00:00
yinle
86959f995b FSP/BPA redundancy: Add the part of find IP address of Frame/CEC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8345 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-07 08:11:14 +00:00
lissav
f4e8bb41af support for limiting ssh between nodes in xdsh -K
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8015 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-03 11:55:29 +00:00
lissav
d63a27bf1d fix grep in isMemberofGroup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8007 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-02 18:16:33 +00:00
lissav
fbeaa49a22 move check for ssh enablement to Utils.pm so Postage and xdsh can share it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8000 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-02 11:58:45 +00:00
lissav
64890f419d add isMemberofGroup routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7961 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-28 19:08:56 +00:00
mellor
9b6954d30d Rolling Update support for AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7453 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-14 22:29:41 +00:00
sjing
0153e21d72 Fix for "rmnimimage -x" with error of "no nim object".
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7400 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-10 02:55:40 +00:00
jjhua
2376ec6bac move the fsp_api_action from Utils to FSPUtils
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7008 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-09 06:56:45 +00:00
jbjohnso
4da5599717 -Avoid calling subprocesses in favor of perl builtins
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6991 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-06 12:36:39 +00:00
jjhua
f5008b1354 move getTypeOfHcp from Utils.pm to FSPUtils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6936 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-02 08:24:42 +00:00
jjhua
b8088dc328 add the getTypeOfHcp for multipel hcps
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6935 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-02 08:11:46 +00:00
jbjohnso
f7832796f2 -Put missing use into Utils in support of UUIDv5
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6813 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-21 14:13:12 +00:00
jbjohnso
c08e59bef6 -Add UUIDv5 generation with URL to the UUID generation function (for use in libvirt storage pool creation)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6782 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-16 20:49:38 +00:00
ligc
896aa23691 fix for IPv6, my_nets, do not return IPv6 networks on Linux for now
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6327 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-03 01:35:19 +00:00
ligc
87a3e305a3 fix for IPv6, my_nets, do not return IPv6 networks on Linux for now
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6326 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-03 01:33:33 +00:00
ligc
f0c90622d0 ipv6 fix: toIP
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6306 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-02 08:01:31 +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
nott
7fd7a87f92 check for AIX before calling getnimprime.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6224 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-25 18:20:36 +00:00
jjhua
fe727e6f81 remove the redundant node_name from the fsp_api_action()
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6185 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-20 06:00:14 +00:00
jbjohnso
6ef8943a3f -Avoid too-new bmuladd function
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6171 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-19 14:05:00 +00:00
jbjohnso
ddbd989fcf -Forgot what programming language I was tping in for a minute there... Fix it to perl again
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6170 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-19 14:01:44 +00:00
jbjohnso
f9f17c1a5e -Replace native math for 64 bit timestamp manipulation with bigint
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6169 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-19 13:54:38 +00:00
jbjohnso
6498f08699 -Fix unbalanced parantheses
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6166 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-19 12:52:52 +00:00
jbjohnso
24919c164f -Ensure that runcmd3 grabs all the output even if managed application pauses
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6165 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-19 12:47:07 +00:00
jbjohnso
bc74953205 -Fix runcmd3 to close input of command to properly signal end of input
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6161 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-18 21:01:49 +00:00
linggao
37189c8616 added ipforward in servicenode table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6160 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-18 20:38:50 +00:00
jbjohnso
3415fbd8f9 -Correct filehandles in runcmd3
-Adjust for 8 bitshift exitcode correction in runcmd3


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6159 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-18 19:54:43 +00:00
jbjohnso
18f4bfafe9 -Add missing module to Utils
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6158 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-18 19:35:39 +00:00
jbjohnso
535e30ce4a -Add runcmd3 for functions that need more granular data from executing code
-Hav ADUtils move away from 'system()' calls that mess up environment
-Set up environment right for ldap toosls to reference specific ldaprc


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6157 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-18 19:30:49 +00:00
jbjohnso
64150e6b9a -Implement UUIDv1 generation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6140 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-16 22:56:22 +00:00
jbjohnso
4499d18915 -Reminder to implement UUID v1 subtype of RFC UUID for enchanced uniqueness guarantee
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6139 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-16 18:54:46 +00:00
jjhua
a1e07e2370 Use of uninitialized value in numeric eq (==) at /opt/xcat/lib/perl/xCAT/Utils.pm---- fixed this defect
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6105 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-14 07:41:43 +00:00
lissav
611b247ed6 fix runcmd so that the default is to redirect stderr to stdout for processing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-13 12:15:23 +00:00
ligc
e74645de77 ipv6 fix, replace the Socket library calls with NetworkUtils subroutines
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6066 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-12 02:39:41 +00:00
ligc
4de6fcf10b ipv6 fix, replace the Socket library calls with NetworkUtils subroutines
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6064 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-12 02:30:25 +00:00
ligc
460ebac96d ipv6 fix, replace the Socket library calls with NetworkUtils subroutines
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6063 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-12 01:45:48 +00:00
ligc
8f8169dbad ipv6 fix, replace the Socket library calls with NetworkUtils subroutines
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6056 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-11 01:56:26 +00:00
ligc
447880fff7 ipv6 fix, replace the Socket library calls with NetworkUtils subroutines
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6047 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-10 09:49:53 +00:00
ligc
54505b70ee ipv6 fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6020 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-07 10:30:16 +00:00
ligc
b3897b05cb ipv6 fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6019 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-07 10:28:30 +00:00
ligc
d97f02aa20 remove the IPv6 related network subroutines
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6008 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-07 02:04:04 +00:00
ligc
a006620400 New NetworkUtils.pm, include all the network related subroutines
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6006 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-07 01:58:02 +00:00