Commit Graph

202 Commits

Author SHA1 Message Date
yinle
1d6f346366 add check in getNodeIPaddress, return 0 if the input node is undef.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9947 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-27 08:52:56 +00:00
jbjohnso
65aa1d842d Correct mistake in previous checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9911 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-23 12:54:41 +00:00
jbjohnso
6856e705db Use XCATSITEVALS instead of slower table lookup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9897 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-22 17:29:43 +00:00
yinle
da9770c8f7 change the way of getting node type
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9755 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-07 09:52:45 +00:00
lissav
ab14c86bb4 move version routine from Utils.pm to Version.pm so I will not mess up again
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9406 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-26 16:57:13 +00:00
lissav
c63e15eb18 remove invalid comment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9360 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-20 19:31:39 +00:00
lissav
fe13d08474 fix defect 3289850
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9359 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-20 19:20:53 +00:00
lissav
8ddf863e48 Comment out use/require Data:Dumper
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9270 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-11 13:49:13 +00:00
jjhua
1ee230494f fix the defect that it failed to get the IP address of the BPA or FSP nodename defined
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9224 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-02 07:29:50 +00:00
lissav
9d62d08147 move the require for Table.pm into only the routines that actually use it this is to save reevaluation of schemas on calls
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9218 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-01 14:02:44 +00:00
ellen56
8a17b167d6 change eventtime format from mm-dd-yyyy to yyyy-mm-dd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9156 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-27 12:18:38 +00:00
lissav
306b07e02f fix logic in my_nets
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9011 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-08 13:56:20 +00:00
ligc
654b2a0fc9 isInSameSubnet: error condition check
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8897 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-21 07:20:14 +00:00
nott
0b6c2347ca fix verbose msgs in runcmd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8773 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-30 17:00:54 +00:00
linggao
d6e1fde72c added logEventsToTealDatabase to Util.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8724 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-21 19:49:32 +00:00
yinle
212afb813f Add checking of isIpaddr
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8691 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-18 08:00:48 +00:00
jbjohnso
737779fc4a -Fix mistake in previous checkin
-Implement 'nodeonmynet' ipv6 linux


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8687 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-17 20:24:28 +00:00
nott
6731a9f869 initialize type variable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8679 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-17 12:50:11 +00:00
yinle
abf34b0acb FSP/BPA redundancy: add some checking of getNodeIPaddress
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8670 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-15 07:07:07 +00:00
yinle
d7971daed7 FSP/BPA redundancy: change the way of finding the fsp/bpa's IP address from checking hosts table to checking itself first.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8641 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-13 10:42:26 +00:00
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