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
jjhua
d4e7353ace
fsp-api should 1st try to resolve nodenames to IP addresses using the system's name resolution (i.e. /etc/hosts or DNS) and if that fails, then try the xcat hosts table
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5416 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-09 06:42:23 +00:00
bp-sawyers
1bcea4b10e
Fixed bug 2961178, problem in getInstallDir
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5326 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-01 19:06:09 +00:00
jjhua
4dfda3a6d8
move the invoking fsp-api function in every FSPxxx.pm to Utils.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5309 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-26 09:46:29 +00:00
daniceexi
23311952f0
add the pkg name when calling the get_site_attribute
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5286 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-24 09:31:50 +00:00
daniceexi
272227fbf2
defect 2947777: add the subroutine getTftpDir
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5278 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-24 08:49:37 +00:00
daniceexi
6401ea3851
defect 2946395: add subroutine getInstallDir
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5268 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-24 06:51:25 +00:00
daniceexi
d3e78d2da1
2946433: add customized install dir location
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5267 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-24 06:41:20 +00:00
lissav
01d96e7664
remove all commented out code and check to see if tmp directory already exists
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5250 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-21 18:00:44 +00:00
lissav
1dd396eb7e
fix xdsh -K for non-root user with mounted home directory
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5248 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-21 17:46:20 +00:00
cjhardee
a8dc249d3b
Added a check for an uninitialized OS to fix the following message:
...
Use of uninitialized value in string eq at /opt/xcat/lib/perl/xCAT/Utils.pm line 3331.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5219 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-15 15:36:07 +00:00
nott
40ba8471c1
Added CALLBACK,VERBOSE support for runcmd and runxcmd.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5167 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-05 16:17:28 +00:00
daniceexi
1eb3b60e50
move the function get_mac_by_arp from Utils.pm to SvrUtils.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5160 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-05 09:31:40 +00:00