Commit Graph

136 Commits

Author SHA1 Message Date
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
lissav
38972e60e3 fix all warnings in routines add use warnings
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5151 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-04 18:29:12 +00:00
lissav
97edcc23e4 fix more warnings
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5146 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-04 14:45:51 +00:00
lissav
f01ac0f74c fix defect 2929715 too many mys
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5145 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-04 13:40:09 +00:00
lissav
b3b7a06d51 fix missin #
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5144 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-04 13:25:45 +00:00
daniceexi
8df1e87c62 defects: 2940290,2940304: move the getmacs --arp function to Utils.pm. Make the --arp supported by blade server and changed the format of MAC without : for aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5141 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-04 10:24:13 +00:00
wanghuaz
7f9e7022e1 Part code for class ready feature
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5139 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-04 08:29:06 +00:00
lissav
86a676d09f add comment to runxcmd about file expansion using glob
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5120 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-02 19:47:52 +00:00
lissav
83760ebf5d remove id_dsa generation and creation of authorized_keys2 when running xdsh -K
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5038 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-25 18:51:12 +00:00
ligc
4bd599d58c add full_path subroutine in Utils.pm, for relative path support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5027 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-25 08:59:52 +00:00
vallard
84cbeb2eb4 updated to fix xnba problems
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4985 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-20 02:14:46 +00:00
lissav
d482c3c2ac add get_DBName routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-19 18:48:23 +00:00
vallard
84a9c3fe98 updated to support remote/distributed networks for DHCP relays or remote flags in networks table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4968 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-18 20:36:08 +00:00
lissav
5eeb229301 force a build
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4754 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-10 18:51:03 +00:00
jjhua
366fdd26a0 HMC alternative: FSPinv.pm, FSPpower.pm, fsp for rcons
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-10 02:19:40 +00:00
nott
eb7404c04a Modify get_ServiceNode() to use NIMprime for AIX nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4668 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-25 16:24:08 +00:00
ligc
6d10253f56 fix for thishostisnot: skip the ipv6 ip address
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4602 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 08:37:59 +00:00
wanghuaz
a8013ef8ef fixed the lsslp issue that it is possible to append -1,-2 to the existing hostname in /etc/hosts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4563 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-13 12:56:37 +00:00
lissav
1204862fa9 fix for 2889577, do not delete authorized_keys* files when runnning xdsh -K, if they existed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4543 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-10 18:34:51 +00:00
linggao
183c173975 fixed MYSQL server went away error'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4536 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-10 15:07:16 +00:00
jbjohnso
e4bd50f5e6 -Fix problem where xfork did not successfully relinquish open db handles (with this change, fuser on a sqlite file, for instance, looks much more correct)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4376 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-13 19:42:14 +00:00
bp-sawyers
d17ea4a3f5 Cleaned up the output of the service start/stop on linux (because I'm OCD)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4210 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-23 14:09:12 +00:00