Commit Graph

169 Commits

Author SHA1 Message Date
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
ligc
36f4161bcf ipv6 support: ishostinsubnet, a temp version, to avoid break IPv4 functions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5987 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-06 09:26:17 +00:00
ligc
91a712b863 ipv6 support: linklocaladdr
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5986 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-06 09:09:17 +00:00
ligc
5a7cda2aaf add IPv6 subroutine linklocaladdr
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5982 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-06 08:28:53 +00:00
ligc
70447f45a1 add three IPv6/IPv4 compatible subroutines gethostnameandip,gethostnameandip and getipaddr
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-06 07:14:15 +00:00
jjhua
44f0302da7 move setupAIXconserver() from xcatconfig.pm and AAsn.pm to Utils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5971 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-05 09:00:15 +00:00
lissav
264325edec remove check for /install/postscripts/cert directory, will no longer exist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5872 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-23 18:04:18 +00:00
lissav
4abd98423e fix defect 2983190, list_all_node_groups should check both the nodelist and nodegroup table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5735 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-09 19:14:36 +00:00
daniceexi
0a5e4a0da5 should not use ./perl-xCAT/xCAT/Utils.pm as express in grep command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5696 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-07 10:33:24 +00:00
lissav
004256d3a6 fix comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5682 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-06 13:17:37 +00:00
lissav
d8b35737da fix nodeonmynet to handle networks table with entries that have no mgtifname
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5627 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-31 12:45:48 +00:00
lissav
9422219be9 add isStateful routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5595 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-29 13:19:13 +00:00
lissav
42037cdbf9 fix hierarchical xdsh -K
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5501 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-17 13:05:46 +00:00
jjhua
9d51ab0c9a remove some print in FSPpower.pm; change SIG{CHLD}='DEFAULT'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5498 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-17 06:44:06 +00:00